aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/WMSession.cpp
blob: 5f88ea5bdb397d98bfda29e337673f86ae999f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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