aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/debugger.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-07-29 19:59:10 -0700
committerPaul Gilbert2019-07-29 22:05:19 -0700
commita04bdb3d7c77897f562c65166dcf30a82d1825b7 (patch)
tree8eb3ff3b25d14da068291b3506b89f3173d2a1a3 /engines/glk/debugger.h
parentfc6f9c9adb026da5c30829c7472f98da432fa19c (diff)
downloadscummvm-rg350-a04bdb3d7c77897f562c65166dcf30a82d1825b7.tar.gz
scummvm-rg350-a04bdb3d7c77897f562c65166dcf30a82d1825b7.tar.bz2
scummvm-rg350-a04bdb3d7c77897f562c65166dcf30a82d1825b7.zip
GLK: Added skeleton debugger
Diffstat (limited to 'engines/glk/debugger.h')
-rw-r--r--engines/glk/debugger.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/engines/glk/debugger.h b/engines/glk/debugger.h
new file mode 100644
index 0000000000..d09ef99ae8
--- /dev/null
+++ b/engines/glk/debugger.h
@@ -0,0 +1,52 @@
+/* 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.
+ *
+ */
+
+#ifndef GLK_DEBUGGER_H
+#define GLK_DEBUGGER_H
+
+#include "common/scummsys.h"
+#include "gui/debugger.h"
+
+namespace Glk {
+
+class GlkEngine;
+
+class Debugger : public GUI::Debugger {
+private:
+ GlkEngine *_vm;
+
+ /**
+ * Dump a picture
+ */
+ bool cmdDumpPic(int argc, const char **argv);
+protected:
+ /**
+ * Convert a numeric string to an integer
+ */
+ int strToInt(const char *s);
+public:
+ Debugger(GlkEngine *vm);
+};
+
+} // End of namespace Glk
+
+#endif