[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-libs-1/libkipi/libkipi
From:       Jesper Pedersen <blackie () blackie ! dk>
Date:       2004-05-31 21:39:42
Message-ID: 20040531213942.C8B65126C7 () office ! kde ! org
[Download RAW message or body]

CVS commit by blackie: 

CCMAIL: kde-imaging@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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic