summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/core/kmfappstate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmyfirewall/core/kmfappstate.cpp')
-rw-r--r--kmyfirewall/core/kmfappstate.cpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/kmyfirewall/core/kmfappstate.cpp b/kmyfirewall/core/kmfappstate.cpp
new file mode 100644
index 0000000..4b6d9a3
--- /dev/null
+++ b/kmyfirewall/core/kmfappstate.cpp
@@ -0,0 +1,49 @@
+//
+// C++ Implementation: %{MODULE}
+//
+// Description:
+//
+//
+// Author: %{AUTHOR} <%{EMAIL}>, (C) %{YEAR}
+//
+// Copyright: See COPYING file that comes with this distribution
+//
+//
+#include "kmfappstate.h"
+
+// QT 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;
+// }
+
+}