aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/WMSession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-wm-INCOMPLETE/WMSession.cpp')
-rw-r--r--lumina-wm-INCOMPLETE/WMSession.cpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/lumina-wm-INCOMPLETE/WMSession.cpp b/lumina-wm-INCOMPLETE/WMSession.cpp
new file mode 100644
index 00000000..5f88ea5b
--- /dev/null
+++ b/lumina-wm-INCOMPLETE/WMSession.cpp
@@ -0,0 +1,41 @@
+//===========================================
+// Lumina-DE source code
+// Copyright (c) 2015, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#include "WMSession.h"
+
+// ==========
+// PUBLIC
+// ==========
+WMSession::WMSession(){
+ EFILTER = new EventFilter();
+ SS = new LScreenSaver();
+
+ //Setup connections
+ connect(EFILTER, SIGNAL(NewInputEvent()), SS, SLOT(newInputEvent()) );
+}
+
+WMSession::~WMSession(){
+
+}
+
+void WMSession::start(){
+ //Get the screensaver initialized/ready
+ SS->start();
+ //Now start pulling/filtering events
+ EFILTER->start();
+
+}
+
+// ==========
+// Public Slots
+// ==========
+void WMSession::reloadIcons(){
+
+}
+
+void WMSession::newInputsAvailable(QStringList){
+
+}
bgstack15