summaryrefslogtreecommitdiffabout
path: root/microkde/kresources/factory.h
authorulf69 <ulf69>2004-06-29 03:30:19 (UTC)
committer ulf69 <ulf69>2004-06-29 03:30:19 (UTC)
commit82fec00bb1355affe8093f0f92922827f0357632 (patch) (side-by-side diff)
treeff6e59327e3b6e01dd80889f1f2a44aef52815e2 /microkde/kresources/factory.h
parente3a70fed171a7b8d29ce0afb9e0f82fb98903091 (diff)
downloadkdepimpi-82fec00bb1355affe8093f0f92922827f0357632.zip
kdepimpi-82fec00bb1355affe8093f0f92922827f0357632.tar.gz
kdepimpi-82fec00bb1355affe8093f0f92922827f0357632.tar.bz2
load the data formats now via KLibLoader and not statically
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
@@ -34,6 +34,15 @@
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
@@ -56,6 +65,7 @@ class Factory
{
public:
+
/**
* Returns the global resource factory.
*/
@@ -106,7 +116,8 @@ class Factory
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;
};
}