summaryrefslogtreecommitdiff
path: root/PluginLoader.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
commite297dbd8052ef4e66f069e2dd1865ae7fa8af28e (patch)
tree342fea0a2f6f33b8b62dad2d1729f8209da1a1ba /PluginLoader.h
parent8f9f382e1c97cab2e72e97495650c73ac4b97314 (diff)
Imported Upstream version 0.3.1.0
Diffstat (limited to 'PluginLoader.h')
-rwxr-xr-xPluginLoader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/PluginLoader.h b/PluginLoader.h
index 0632709..010956a 100755
--- a/PluginLoader.h
+++ b/PluginLoader.h
@@ -20,14 +20,12 @@ This class load ALL plugin compatible to listen and catch the copy/move
#include "interface/PluginInterface_PluginLoader.h"
#include "PluginsManager.h"
#include "GlobalClass.h"
+#include "OptionDialog.h"
namespace Ui {
class PluginLoaderOptions;
}
-/// \todo PluginLoader -> put plugin by plugin loading to add plugin no reload all
-/// \todo async the plugin call
-
/** \brief Load the plugin
It use ResourcesManager(), but it provide more higher abstraction. It parse the plugins information, check it, check the dependancies.
@@ -38,7 +36,7 @@ class PluginLoader : public QObject, GlobalClass
{
Q_OBJECT
public:
- explicit PluginLoader(QObject *parent = 0);
+ explicit PluginLoader(OptionDialog *optionDialog);
~PluginLoader();
/** \brief to rended the state */
void resendState();
@@ -72,8 +70,10 @@ private:
CatchState last_state;
bool last_have_plugin,last_inWaitOfReply;
void sendState(bool force=false);
+ OptionDialog *optionDialog;
signals:
void pluginLoaderReady(CatchState state,bool havePlugin,bool someAreInWaitOfReply);
+ void previouslyPluginAdded(PluginsAvailable);
};
#endif // PluginLoader_H