summaryrefslogtreecommitdiffabout
path: root/microkde/kresources/factory.h
Side-by-side diff
Diffstat (limited to 'microkde/kresources/factory.h') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kresources/factory.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/microkde/kresources/factory.h b/microkde/kresources/factory.h
index f391bb3..ad67ab3 100644
--- a/microkde/kresources/factory.h
+++ b/microkde/kresources/factory.h
@@ -33,8 +33,17 @@
#include "resource.h"
namespace KRES {
+//US
+struct PluginInfo
+{
+ QString library;
+ QString nameLabel;
+ QString descriptionLabel;
+};
+
+
/**
* Class for loading resource plugins.
* Do not use this class directly. Use ResourceManager instead
*
@@ -55,8 +64,9 @@ namespace KRES {
class Factory
{
public:
+
/**
* Returns the global resource factory.
*/
static Factory *self( const QString& resourceFamily );
@@ -105,9 +115,10 @@ class Factory
static QDict<Factory> *mSelves;
QString mResourceFamily;
//US QMap<QString, KService::Ptr> mTypeMap;
- QMap<QString, PluginFactoryBase*> mTypeMap;
+//US lets store the pluginfo struct as value instead of a KService
+ QMap<QString, PluginInfo*> mTypeMap;
};
}
#endif