summaryrefslogtreecommitdiffstats
path: root/src/dinfo.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-10-01 17:05:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-10-01 17:05:29 +0200
commit39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70 (patch)
treed6bc97f38d36892b14703c788cef782f13ee2a4d /src/dinfo.cpp
downloadkooldock-39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70.tar.gz
kooldock-39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70.zip
Initial import of kooldock 0.4.7
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/dinfo.cpp')
-rw-r--r--src/dinfo.cpp56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/dinfo.cpp b/src/dinfo.cpp
new file mode 100644
index 0000000..f6cf476
--- /dev/null
+++ b/src/dinfo.cpp
@@ -0,0 +1,56 @@
+/***************************************************************************
+ * Copyright (C) 2007 by bisiek *
+ * bisiek9@gmail.com *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+#include "dinfo.h"
+
+dInfo::dInfo()
+{
+ mBool=false;
+ mInt=0;
+}
+
+
+dInfo::~dInfo()
+{
+}
+
+bool dInfo::gBool()
+{
+ return mBool;
+}
+
+void dInfo::sBool(bool nVal)
+{
+ mBool=nVal;
+}
+
+int dInfo::gInt()
+{
+ return mInt;
+}
+
+void dInfo::sInt(int nVal)
+{
+ mInt=nVal;
+}
+
+void dInfo::inc(int val)
+{
+ mInt+=val;
+}