aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-07-28 16:26:10 +0200
committeruruk2014-07-28 16:26:10 +0200
commitae4adf4a9fd10a48fbdbb002d8686bd4560729ab (patch)
treefce8812035f55cbc25b4447406adcb2c59c1501e
parentfe77bfecf78d499bfb34e353e699e3d56a9f3a5a (diff)
downloadscummvm-rg350-ae4adf4a9fd10a48fbdbb002d8686bd4560729ab.tar.gz
scummvm-rg350-ae4adf4a9fd10a48fbdbb002d8686bd4560729ab.tar.bz2
scummvm-rg350-ae4adf4a9fd10a48fbdbb002d8686bd4560729ab.zip
CGE2: Move implementation of Console into a .cpp file.
Also get rid of unused _vm variable of it.
-rw-r--r--engines/cge2/console.cpp33
-rw-r--r--engines/cge2/console.h7
2 files changed, 35 insertions, 5 deletions
diff --git a/engines/cge2/console.cpp b/engines/cge2/console.cpp
new file mode 100644
index 0000000000..c67c7ab788
--- /dev/null
+++ b/engines/cge2/console.cpp
@@ -0,0 +1,33 @@
+/* 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 "cge2/console.h"
+
+namespace CGE2 {
+
+CGE2Console::CGE2Console(CGE2Engine *vm) : GUI::Debugger() {
+}
+
+CGE2Console::~CGE2Console() {
+}
+
+} // End of namespace CGE
diff --git a/engines/cge2/console.h b/engines/cge2/console.h
index cb2120d7e7..15956bf728 100644
--- a/engines/cge2/console.h
+++ b/engines/cge2/console.h
@@ -31,11 +31,8 @@ class CGE2Engine;
class CGE2Console : public GUI::Debugger {
public:
- CGE2Console(CGE2Engine *vm) : GUI::Debugger(), _vm(vm) {}
- virtual ~CGE2Console() {}
-
-private:
- CGE2Engine *_vm;
+ CGE2Console(CGE2Engine *vm);
+ virtual ~CGE2Console();
};
} // End of namespace CGE