X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldbg.h;h=d8b56f825e2c92b0135f16e4bfd2b3db0f67fca7;hb=7bd7fc784a6f6cff69f79914a445bc2115a7e768;hp=ff844518ed68f715e0e3a5036be9b7d4ab95716c;hpb=ee7f1e3a5912789664648ac5be85127e62c1cda5;p=gldbg.git diff --git a/source/gldbg.h b/source/gldbg.h index ff84451..d8b56f8 100644 --- a/source/gldbg.h +++ b/source/gldbg.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of gldbg -Copyright © 2009 Mikko Rasa, Mikkosoft Productions +Copyright © 2009-2010 Mikko Rasa, Mikkosoft Productions Distributed under the GPL */ @@ -13,9 +13,9 @@ Distributed under the GPL #include #include #include "commandinterpreter.h" -#include "glstate.h" #include "process.h" -#include "tracer.h" + +class Tool; class GlDbg: public Msp::Application { @@ -26,20 +26,20 @@ private: std::string buffer; unsigned buf_offset; bool flushing; - Tracer tracer; - GlState glstate; + std::list tools; bool got_sigchld; static RegApp reg; public: GlDbg(int, char **); + ~GlDbg(); + int main(); - Tracer &get_tracer() { return tracer; } - GlState &get_glstate() { return glstate; } + CommandInterpreter &get_command_interpreter() { return cmd_interp; } Process &get_process() { return process; } void launch(); - void quit(); + void quit(bool); private: void tick(); void check_child();