[Kde-imaging] NameSpace wrapper in KameraKlient removed !!!

Aurélien Gâteau aurelien.gateau at free.fr
Mon Sep 6 15:22:26 CEST 2004


Le vendredi 3 Septembre 2004 14:48, Caulier Gilles a écrit :
> Hi all,
>
> I have recently checked the last commits by Laurent (A patch from Tudor
> calin) concerning this KIPI plugin. I have see that the namespace
> KIPIKameraKlientPlugin provide by me in _all_ cpp/h files for this plugin
> have been removed.
>
> This is very _Dangerous_. We must provide an independant namespace wrapper
> for each plugin in all source code.
>
> I have hacked more than one plugin in the past because none namespace have
> been used in the digikamplugins implementation. If we don't use the a
> namespace, we have a large risk to have some memory conflics between the
> plugin !!!

I don't see why we need namespace for plugins. Each plugin gets his own .so 
file and can be considered like an application. Can you explain why are 
namespaces necessary?

Aurélien


More information about the Kde-imaging mailing list