summaryrefslogtreecommitdiff
path: root/plugins/SessionLoader/KDE4/sessionLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SessionLoader/KDE4/sessionLoader.h')
-rw-r--r--plugins/SessionLoader/KDE4/sessionLoader.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/SessionLoader/KDE4/sessionLoader.h b/plugins/SessionLoader/KDE4/sessionLoader.h
new file mode 100644
index 0000000..ca04fa6
--- /dev/null
+++ b/plugins/SessionLoader/KDE4/sessionLoader.h
@@ -0,0 +1,33 @@
+/** \file sessionLoader.h
+\brief Define the session loader
+\author alpha_one_x86
+\version 0.3
+\date 2010 */
+
+#ifndef SESSION_LOADER_PLUGIN_H
+#define SESSION_LOADER_PLUGIN_H
+
+#include <QObject>
+#include "Environment.h"
+#include "../../../interface/PluginInterface_SessionLoader.h"
+
+/// \brief Define the session loader
+class SessionLoaderPlugin : public PluginInterface_SessionLoader
+{
+ Q_OBJECT
+ Q_INTERFACES(PluginInterface_SessionLoader)
+public:
+ /// \brief to set if it's enabled or not
+ void setEnabled(bool);
+ /// \brief to get if is enabled
+ bool getEnabled();
+ /// \brief set the resources for the plugins
+ void setResources(OptionInterface * options,QString writePath,QString pluginPath,bool portableVersion);
+signals:
+ #ifdef ULTRACOPIER_PLUGIN_DEBUG
+ /// \brief To debug source
+ void debugInformation(DebugLevel level,QString fonction,QString text,QString file,int ligne);
+ #endif
+};
+
+#endif // SESSION_LOADER_PLUGIN_H