summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/core/kmfappstate.cpp
blob: 3940edfa9985b90d8bd4cb98c515c2384553abf5 (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
42
43
44
45
46
47
48
49
//
// C++ Implementation: %{MODULE}
//
// Description:
//
//
// Author: %{AUTHOR} <%{EMAIL}>, (C) %{YEAR}
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "kmfappstate.h"

// TQt Includes

// KDE Includes
#include "kdebug.h"



namespace KMF {

bool KMFAppState::_upAndRunning = false;
bool KMFAppState::_hasOpenDoc = false;


KMFAppState::KMFAppState(){}


KMFAppState::~KMFAppState(){}

void KMFAppState::setUpAndRunning( bool on ) {
	kdDebug() << "KMFAppState::setUpAndRunning( " <<  on << " ) " <<  endl;
	_upAndRunning = on;
}

// void KMFAppState::setHasOpenDoc( bool on ) {
// 	kdDebug() << "KMFAppState::setHasOpenDoc( " <<  on << " ) " <<  endl;
// 	_hasOpenDoc = on;
// }

bool KMFAppState::upAndRunning() {
	return _upAndRunning;
}
// bool KMFAppState::hasOpenDoc()  {
// 	return _hasOpenDoc;
// }

}