[Kde-imaging] kdeextragear-libs-1/libkipi/libkipi

Jesper Pedersen blackie at blackie.dk
Mon May 31 23:39:42 CEST 2004


CVS commit by blackie: 

CCMAIL: kde-imaging at kde.org
clean up of the PluginLoader class as announce weeks ago :-)
It will now load plugins on construction, so the loadPlugins() methods have
been removed.

PluginLoader is now typedefed to
typedef QValueList<Info> List;

Where info is defined as this:
struct Info
{
    Info( const QString& name, const QString& comment, const QString& library, Plugin* plugin )
        : name(name), comment(comment), library(library), plugin( plugin ) {}
    Info() {}
    QString name;
    QString comment;
    QString library;
    Plugin* plugin;
};

This allows the host application to get to know the comment of a plugin
(which was the reason for making this change).

Cheers
Jesper.


  M +8 -86     pluginloader.cpp   1.7
  M +12 -10    pluginloader.h   1.6





More information about the Kde-imaging mailing list