X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldbg.h;fp=source%2Fgldbg.h;h=9f26de3f34e872485c5129c0e827f1b69c85d896;hb=8a1580721a939c3edea2ce1b342148e94ad2b814;hp=0000000000000000000000000000000000000000;hpb=be68706254c62406d4924fffa7f43d2b1c17f52e;p=gldbg.git diff --git a/source/gldbg.h b/source/gldbg.h new file mode 100644 index 0000000..9f26de3 --- /dev/null +++ b/source/gldbg.h @@ -0,0 +1,38 @@ +/* $Id$ + +This file is part of gldbg +Copyright © 2009 Mikko Rasa, Mikkosoft Productions +Distributed under the GPL +*/ + +#ifndef GLDBG_H_ +#define GLDBG_H_ + +#include +#include +#include +#include +#include "glstate.h" + +class GlDbg: public Msp::Application +{ +private: + Msp::FS::Path libdir; + int pid; + std::vector args; + int sock_fd; + std::string buffer; + unsigned buf_offset; + GlDecoder *glprint; + + static RegApp reg; + +public: + GlDbg(int, char **); + int main(); +private: + void tick(); + void launch(); +}; + +#endif