aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/WMSession.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-05-22 17:12:32 -0400
committerKen Moore <ken@pcbsd.org>2015-05-22 17:12:32 -0400
commit5f12e4d7dadf49963ef3925b0cd786748e3073f1 (patch)
treefbb732d5ed50eb840d535fb764678b5391bbb7cc /lumina-wm-INCOMPLETE/WMSession.cpp
parentFix a missing icon in the new system monitor plugin. (diff)
downloadlumina-5f12e4d7dadf49963ef3925b0cd786748e3073f1.tar.gz
lumina-5f12e4d7dadf49963ef3925b0cd786748e3073f1.tar.bz2
lumina-5f12e4d7dadf49963ef3925b0cd786748e3073f1.zip
Another quick checkpoint with teh lumina-wm sources - still nothing to try using yet.
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