static private d-pointer-thing in editor/editorintegrator.h?

Alexander Dymo dymo at ukrpost.ua
Sat May 19 16:40:09 UTC 2007


On 5/19/07, Andreas Pakulat <apaku at gmx.de> wrote:
> could someone please enlighten me why the private d-pointer in
> editorintegrator is
>
> a) protected
> b) static

I don't know why it's protected. But looks like it's static to make
EditorIntegrator work as a static object so that duchain is not forced
to link to interfaces (shell).
In theory, it should be possible to take cpp parser, duchain and use
it completely independently from kdevelop. The problem is that at
least kdevplatformeditor has to be linked in and that does mean the
dependency on some of the platform libraries.




More information about the KDevelop-devel mailing list