diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2013-01-04 14:50:19 +0100 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2013-01-04 14:50:19 +0100 |
commit | 8f9f382e1c97cab2e72e97495650c73ac4b97314 (patch) | |
tree | 78510a0d81368c09b56f444fb19bb132c8bc3009 /interface/PluginInterface_SessionLoader.h |
Imported Upstream version 0.3.0.5
Diffstat (limited to 'interface/PluginInterface_SessionLoader.h')
-rw-r--r-- | interface/PluginInterface_SessionLoader.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/interface/PluginInterface_SessionLoader.h b/interface/PluginInterface_SessionLoader.h new file mode 100644 index 0000000..2e49fa3 --- /dev/null +++ b/interface/PluginInterface_SessionLoader.h @@ -0,0 +1,31 @@ +/** \file PluginInterface_SessionLoader.h +\brief Define the interface of the plugin of type: session loader +\author alpha_one_x86 +\version 0.3 +\date 2010 */ + +#ifndef PLUGININTERFACE_SESSIONLOADER_H +#define PLUGININTERFACE_SESSIONLOADER_H + +#include <QString> + +#include "OptionInterface.h" + +#include "../StructEnumDefinition.h" + +/** \brief To define the interface between Ultracopier and the session loader + * */ +class PluginInterface_SessionLoader : public QObject +{ + public: + /// \brief set enabled/disabled + virtual void setEnabled(bool) = 0; + /// \brief get if is enabled + virtual bool getEnabled() = 0; + /// \brief set the resources + virtual void setResources(OptionInterface * options,QString writePath,QString pluginPath,bool portableVersion) = 0; +}; + +Q_DECLARE_INTERFACE(PluginInterface_SessionLoader,"first-world.info.ultracopier.PluginInterface.SessionLoader/0.3.0.4"); + +#endif // PLUGININTERFACE_SESSIONLOADER_H |