[Kde-imaging] New KIPI plugins category identification based on KAction detection.

Gilles Caulier caulier.gilles at free.fr
Wed Jun 16 09:22:16 CEST 2004


Le mercredi 16 Juin 2004 01:35, Aurelien Gateau a écrit :
> Le mardi 15 Juin 2004 21:41, Jesper K. Pedersen a écrit :
> > Why not remove the KIPI::Category KIPI::Plugin::category() const
> > and only keep
> > KIPI::Category KIPI::Plugin::category( KAction* action )
> > In case a plugin has the same category for all its plugins, it will
> > simply ignore the action paramter:
> >
> > KIPI::Category MyPlugin::category( KAction* /*action*/ ) {
> >   return IMAGEPLUGIN;
> > }
> >
> > That makes the host application code much simpler, plus removes the need
> > for the KIPI::UNDEFINEDPLUGIN
> >
> > Or am I missing something?

I have let's that for the compatibility.

>
> Sounds good to me.

OK I will fixed that this morning...

regards
-- 
Gilles Caulier


More information about the Kde-imaging mailing list