/* $Id$
This file is part of gldbg
-Copyright © 2009 Mikko Rasa, Mikkosoft Productions
+Copyright © 2009-2010 Mikko Rasa, Mikkosoft Productions
Distributed under the GPL
*/
#include <msp/core/application.h>
#include <msp/fs/path.h>
#include "commandinterpreter.h"
-#include "glstate.h"
#include "process.h"
-#include "profiler.h"
-#include "tracer.h"
+
+class Tool;
class GlDbg: public Msp::Application
{
std::string buffer;
unsigned buf_offset;
bool flushing;
- Tracer tracer;
- GlState glstate;
- Profiler profiler;
+ std::list<Tool *> tools;
bool got_sigchld;
static RegApp<GlDbg> reg;
public:
GlDbg(int, char **);
+ ~GlDbg();
+
int main();
- Tracer &get_tracer() { return tracer; }
- GlState &get_glstate() { return glstate; }
- Profiler &get_profiler() { return profiler; }
+ CommandInterpreter &get_command_interpreter() { return cmd_interp; }
Process &get_process() { return process; }
void launch();
void quit(bool);