X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftracer.h;h=7e674721d995e5850d57f7f45f88737b7d36b7a3;hb=a832996c884a0e0acc9a38ba4dd258edb75ec7af;hp=651bfc1ecf1df7006d7f88170cd7a24bb129c993;hpb=7bd7fc784a6f6cff69f79914a445bc2115a7e768;p=gldbg.git diff --git a/source/tracer.h b/source/tracer.h index 651bfc1..7e67472 100644 --- a/source/tracer.h +++ b/source/tracer.h @@ -1,14 +1,7 @@ -/* $Id$ - -This file is part of gldbg -Copyright © 2009-2010 Mikko Rasa, Mikkosoft Productions -Distributed under the GPL -*/ - #ifndef TRACER_H_ #define TRACER_H_ -#include +#include #include "tool.h" struct GlPrint; @@ -17,8 +10,8 @@ class Tracer: public RegisteredTool { private: GlPrint *glprint; - Msp::IO::Base *out; - bool delete_out; + FILE *out; + bool close_out; bool enabled; public: @@ -27,7 +20,7 @@ public: virtual void decode(const char *, unsigned); private: - void set_output(Msp::IO::Base *, bool); + void set_output(FILE *, bool); void cmd_trace(const std::string &); };