diff options
author | Ken Moore <ken@pcbsd.org> | 2015-05-22 17:12:32 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-05-22 17:12:32 -0400 |
commit | 5f12e4d7dadf49963ef3925b0cd786748e3073f1 (patch) | |
tree | fbb732d5ed50eb840d535fb764678b5391bbb7cc /lumina-wm-INCOMPLETE/WMSession.cpp | |
parent | Fix a missing icon in the new system monitor plugin. (diff) | |
download | lumina-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.cpp | 41 |
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){ + +} |