[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-imaging
Subject: Re: [Kde-imaging] New KIPI plugins category identification based on
From: "Jesper K. Pedersen" <blackie () blackie ! dk>
Date: 2004-06-16 9:38:53
Message-ID: 200406161138.53824.blackie () blackie ! dk
[Download RAW message or body]
On Wednesday 16 June 2004 11:33, Gilles Caulier wrote:
| Le mercredi 16 Juin 2004 11:23, Jesper K. Pedersen a écrit :
| > Otherwise, carefull host app implementor will be puzzled about when the
| > UNDEFINEDPLUGIN could occur.
|
| Look like this :
|
| KIPI::Category Plugin_DirOperations::category( KAction* action ) const
| {
| if ( action == m_action_OpenIn )
| return KIPI::COLLECTIONSPLUGIN;
|
| kdWarning( 51000 ) << "Unroconized action for plugin category
| identification" << endl;
| return KIPI::UNDEFINEDPLUGIN;
And what I suggest is to replace this line with
return KIPI::IMAGESPLUGIN; // no warning from compiler, please
| }
_______________________________________________
Kde-imaging mailing list
Kde-imaging@kde.org
https://mail.kde.org/mailman/listinfo/kde-imaging
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic