aboutsummaryrefslogtreecommitdiff
path: root/simon/debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'simon/debugger.h')
-rw-r--r--simon/debugger.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/simon/debugger.h b/simon/debugger.h
new file mode 100644
index 0000000000..f1c82db1e4
--- /dev/null
+++ b/simon/debugger.h
@@ -0,0 +1,47 @@
+/* ScummVM - Scumm Interpreter
+ * Copyright (C) 2003-2004 The ScummVM project
+ *
+ * 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.
+ *
+ * $Header$
+ *
+ */
+
+#ifndef SIMON_DEBUGGER_H
+#define SIMON_DEBUGGER_H
+
+#include "common/debugger.h"
+
+namespace Simon {
+
+class SimonEngine;
+
+class Debugger : public Common::Debugger<Debugger> {
+public:
+ Debugger(SimonEngine *vm);
+
+protected:
+ SimonEngine *_vm;
+
+ virtual void preEnter();
+ virtual void postEnter();
+
+ bool Cmd_Exit(int argc, const char **argv);
+ bool Cmd_PlayVoice(int argc, const char **argv);
+};
+
+} // End of namespace Simon
+
+#endif