X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fgldbg.h;h=e42e4aa1d1425cb5c105bca4528d6835ad81ad77;hb=a0799c5aa5aec7e9cfe05f6bf2c9d8058437b8df;hp=5f75164539153b06554bd41fcae0528b6f639b88;hpb=c6b2f7585d51164dc32f4dd2a05855913e464c58;p=gldbg.git diff --git a/source/gldbg.h b/source/gldbg.h index 5f75164..e42e4aa 100644 --- a/source/gldbg.h +++ b/source/gldbg.h @@ -13,7 +13,9 @@ Distributed under the GPL #include #include #include "commandinterpreter.h" +#include "glstate.h" #include "process.h" +#include "profiler.h" #include "tracer.h" class GlDbg: public Msp::Application @@ -26,6 +28,8 @@ private: unsigned buf_offset; bool flushing; Tracer tracer; + GlState glstate; + Profiler profiler; bool got_sigchld; static RegApp reg; @@ -34,9 +38,11 @@ public: GlDbg(int, char **); int main(); 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();