X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldbg.h;h=e53998251e3821bef667526e5346de0717741a22;hb=7642653a18f7464dd093a93a1247b8f18e53cd1a;hp=5654715c41845ffca052bbef67f936b86846ec68;hpb=2f49929fc383eab718b5fb64d966535b753e7024;p=gldbg.git diff --git a/source/gldbg.h b/source/gldbg.h index 5654715..e539982 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,17 +26,17 @@ 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(bool); @@ -44,7 +44,6 @@ private: void tick(); void check_child(); void read_stream(); - long ptrace(int, void *, void *); virtual void sighandler(int); };