diff options
Diffstat (limited to 'TraceScreen.h')
-rw-r--r-- | TraceScreen.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/TraceScreen.h b/TraceScreen.h index bb5ad4cf..8845c51a 100644 --- a/TraceScreen.h +++ b/TraceScreen.h @@ -9,20 +9,32 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ -#include "Process.h" -#include "Panel.h" +#include "InfoScreen.h" typedef struct TraceScreen_ { - Process* process; - Panel* display; + InfoScreen super; bool tracing; + int fdpair[2]; + int child; + FILE* strace; + int fd_strace; + bool contLine; + bool follow; } TraceScreen; +extern InfoScreenClass TraceScreen_class; + TraceScreen* TraceScreen_new(Process* process); -void TraceScreen_delete(TraceScreen* this); +void TraceScreen_delete(Object* cast); + +void TraceScreen_draw(InfoScreen* this); + +bool TraceScreen_forkTracer(TraceScreen* this); + +void TraceScreen_updateTrace(InfoScreen* super); -void TraceScreen_run(TraceScreen* this); +bool TraceScreen_onKey(InfoScreen* super, int ch); #endif |