aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/console.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-03-13 13:52:12 +0530
committerEugene Sandulenko2019-09-03 17:16:41 +0200
commit50e2b5b5bf09caa20d2d2088d997fe8991efb93e (patch)
treecea8ba3e1ca29a9c59488951f8a40a6ea9d907ec /engines/hdb/console.cpp
parentd560efbef797a3d976dcafffc0c0cdd7252f5763 (diff)
downloadscummvm-rg350-50e2b5b5bf09caa20d2d2088d997fe8991efb93e.tar.gz
scummvm-rg350-50e2b5b5bf09caa20d2d2088d997fe8991efb93e.tar.bz2
scummvm-rg350-50e2b5b5bf09caa20d2d2088d997fe8991efb93e.zip
HDB: Add the Console class to HDB for the interactive Debugger
Diffstat (limited to 'engines/hdb/console.cpp')
-rw-r--r--engines/hdb/console.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/engines/hdb/console.cpp b/engines/hdb/console.cpp
new file mode 100644
index 0000000000..65e8dba666
--- /dev/null
+++ b/engines/hdb/console.cpp
@@ -0,0 +1,38 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#include "gui/debugger.h"
+
+#include "hdb.h"
+#include "console.h"
+
+namespace HDB {
+
+Console::Console() {
+ _visible = true;
+}
+
+Console::~Console() {
+ _visible = false;
+}
+
+} // End of namespace Plumbers