X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldbg.h;h=543df05a580265b5d88e395f995ffb2b2a0f0438;hb=de6ac03ffc36843bbbb0d496007b3046a4422ee1;hp=5f75164539153b06554bd41fcae0528b6f639b88;hpb=c6b2f7585d51164dc32f4dd2a05855913e464c58;p=gldbg.git diff --git a/source/gldbg.h b/source/gldbg.h index 5f75164..543df05 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,13 @@ Distributed under the GPL #include #include #include "commandinterpreter.h" +#include "glstate.h" #include "process.h" +#include "profiler.h" #include "tracer.h" +class Tool; + class GlDbg: public Msp::Application { private: @@ -25,7 +29,10 @@ private: std::string buffer; unsigned buf_offset; bool flushing; + std::list tools; Tracer tracer; + GlState glstate; + Profiler profiler; bool got_sigchld; static RegApp reg; @@ -33,10 +40,13 @@ private: public: GlDbg(int, char **); int main(); + CommandInterpreter &get_command_interpreter() { return cmd_interp; } Tracer &get_tracer() { return tracer; } + GlState &get_glstate() { return glstate; } + Profiler &get_profiler() { return profiler; } Process &get_process() { return process; } void launch(); - void quit(); + void quit(bool); private: void tick(); void check_child();