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

Gilles Caulier caulier.gilles at free.fr
Wed Jun 16 13:01:21 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?
>
> Sounds good to me.
>
> Aurélien

Done in CVS !
-- 
Gilles Caulier


More information about the Kde-imaging mailing list