diff options
Diffstat (limited to 'sigtools/PluginLoader_p.h')
-rw-r--r-- | sigtools/PluginLoader_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sigtools/PluginLoader_p.h b/sigtools/PluginLoader_p.h index 5597a45a..89c37cda 100644 --- a/sigtools/PluginLoader_p.h +++ b/sigtools/PluginLoader_p.h @@ -50,12 +50,17 @@ class SIGTOOLS_NO_EXPORT Private : public QObject Q_OBJECT public: + Private(); + ~Private(); + void refresh(const QString& type); QStringList services(const QString& type); KService::Ptr service(const QString& type, const QString& name); Sigencore::Plugins::PluginBase* factory(const QString& type, const QString& name); Sigmod::Game* game(const QString& name); protected: + void clean(const QString& type); + typedef QPair<KService::Ptr, Sigencore::Plugins::PluginBase*> Service; typedef QMap<QString, Service> PluginList; QMap<QString, PluginList> m_available; |