summaryrefslogtreecommitdiff
path: root/interface/PluginInterface_PluginLoader.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-01-04 14:50:19 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-01-04 14:50:19 +0100
commit8f9f382e1c97cab2e72e97495650c73ac4b97314 (patch)
tree78510a0d81368c09b56f444fb19bb132c8bc3009 /interface/PluginInterface_PluginLoader.h
Imported Upstream version 0.3.0.5
Diffstat (limited to 'interface/PluginInterface_PluginLoader.h')
-rw-r--r--interface/PluginInterface_PluginLoader.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/interface/PluginInterface_PluginLoader.h b/interface/PluginInterface_PluginLoader.h
new file mode 100644
index 0000000..e04bcd9
--- /dev/null
+++ b/interface/PluginInterface_PluginLoader.h
@@ -0,0 +1,33 @@
+/** \file PluginInterface_PluginLoader.h
+\brief Define the interface of the plugin of type: plugin loader
+\author alpha_one_x86
+\version 0.3
+\date 2010 */
+
+#ifndef PLUGININTERFACE_PLUGINLOADER_H
+#define PLUGININTERFACE_PLUGINLOADER_H
+
+#include <QString>
+
+#include "OptionInterface.h"
+
+#include "../StructEnumDefinition.h"
+
+/** \brief To define the interface between Ultracopier and the plugin loader
+ * */
+class PluginInterface_PluginLoader : public QObject
+{
+ Q_OBJECT
+ public:
+ /// \brief try enable/disable the catching
+ virtual void setEnabled(bool) = 0;
+ /// \brief to set resources, writePath can be empty if read only mode
+ virtual void setResources(OptionInterface * options,QString writePath,QString pluginPath,bool portableVersion) = 0;
+ /* signal to implement
+ signals:
+ void newState(CatchState);*/
+};
+
+Q_DECLARE_INTERFACE(PluginInterface_PluginLoader,"first-world.info.ultracopier.PluginInterface.PluginLoader/0.3.0.1");
+
+#endif // PLUGININTERFACE_PLUGINLOADER_H