X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcommandinterpreter.h;h=fa881c6883be885b6e2cc03974448e68783766fd;hb=a832996c884a0e0acc9a38ba4dd258edb75ec7af;hp=487abb232fcdfcd6e4cb79cc56214db0720b19cb;hpb=de6ac03ffc36843bbbb0d496007b3046a4422ee1;p=gldbg.git diff --git a/source/commandinterpreter.h b/source/commandinterpreter.h index 487abb2..fa881c6 100644 --- a/source/commandinterpreter.h +++ b/source/commandinterpreter.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of gldbg -Copyright © 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the GPL -*/ - #ifndef COMMANDINTERPRETER_H_ #define COMMANDINTERPRETER_H_ @@ -24,8 +17,9 @@ public: protected: Command() { } - public: + virtual ~Command() { } + void set_help(const std::string &); void set_help(const std::string &, const std::string &); const std::string &get_description() const { return description; } @@ -80,15 +74,14 @@ public: private: void cmd_help(const std::string &); void cmd_run(const std::string &); + void cmd_break(const std::string &); + void cmd_unbreak(const std::string &); + void cmd_next(const std::string &); + void cmd_finish(const std::string &); void cmd_continue(const std::string &); void cmd_signal(const std::string &); void cmd_kill(const std::string &); void cmd_exit(const std::string &); - void cmd_trace(const std::string &); - void cmd_profile(const std::string &); - void cmd_state(const std::string &); - void cmd_texture(const std::string &); - void cmd_buffer(const std::string &); }; #endif