aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-WM/WMSession.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-WM/WMSession.h')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-WM/WMSession.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-WM/WMSession.h b/src-qt5/core/lumina-desktop-unified/src-WM/WMSession.h
new file mode 100644
index 00000000..5b511326
--- /dev/null
+++ b/src-qt5/core/lumina-desktop-unified/src-WM/WMSession.h
@@ -0,0 +1,42 @@
+//===========================================
+// Lumina-DE source code
+// Copyright (c) 2015, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#ifndef _LUMINA_DESKTOP_WINDOW_MANAGER_SESSION_H
+#define _LUMINA_DESKTOP_WINDOW_MANAGER_SESSION_H
+
+#include "GlobalDefines.h"
+
+#include "LScreenSaver.h"
+#include "LXcbEventFilter.h"
+#include "LWindowManager.h"
+
+class WMSession : public QObject{
+ Q_OBJECT
+public:
+ WMSession();
+ ~WMSession();
+
+ void start(bool SSONLY = false);
+
+private:
+ //XCB Event Watcher
+ EventFilter *EFILTER;
+ //ScreenSaver
+ LScreenSaver *SS;
+ //Window Manager
+ LWindowManager *WM;
+
+ QThread *EVThread; //X Event thread
+
+public slots:
+ void reloadIcons();
+ void newInputsAvailable(QStringList);
+
+private slots:
+
+};
+
+#endif \ No newline at end of file
bgstack15