22 #ifndef __LIBTDEPIM_PLUGINLOADERBASE_H__
23 #define __LIBTDEPIM_PLUGINLOADERBASE_H__
28 #include <tdemacros.h>
35 class TDE_EXPORT PluginMetaData {
38 PluginMetaData( const TQString & lib, const TQString & name,
39 const TQString & comment )
40 : library( lib ), nameLabel( name ),
41 descriptionLabel( comment ), loaded( false ) {}
44 TQString descriptionLabel;
48 class TDE_EXPORT PluginLoaderBase {
51 virtual ~PluginLoaderBase();
55 TQStringList types() const;
58 const PluginMetaData * infoForName( const TQString & type ) const;
62 virtual void scan() = 0;
70 void doScan( const char * path );
74 void * mainFunc( const TQString & type, const char * main_func ) const;
77 const KLibrary * openLibrary( const TQString & libName ) const;
78 TQMap< TQString, PluginMetaData > mPluginMap;
TDEPIM classes for drag and drop of mails.
|