aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/WMSession.cpp
blob: b9011d8c50251009f19d9c0b24f3d5003ddefd47 (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
//===========================================
//  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