diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2006-03-04 18:16:49 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2006-03-04 18:16:49 +0000 |
commit | d6231bab89d634da5564491196b7c478db038505 (patch) | |
tree | bfc0bf00b138763eb41132fd27a8f389a78bf3a4 /TraceScreen.h |
Initial import.
Diffstat (limited to 'TraceScreen.h')
-rw-r--r-- | TraceScreen.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/TraceScreen.h b/TraceScreen.h new file mode 100644 index 00000000..e26737c5 --- /dev/null +++ b/TraceScreen.h @@ -0,0 +1,37 @@ +/* +htop - TraceScreen.h +(C) 2005 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ +#ifndef HEADER_TraceScreen +#define HEADER_TraceScreen + +#define _GNU_SOURCE +#include <stdio.h> +#include <unistd.h> +#include <stdbool.h> +#include <unistd.h> +#include <fcntl.h> + +#include "ProcessList.h" +#include "ListBox.h" +#include "FunctionBar.h" + +typedef struct TraceScreen_ { + Process* process; + ListBox* display; + FunctionBar* bar; + bool tracing; +} TraceScreen; + +TraceScreen* TraceScreen_new(Process* process); + +void TraceScreen_delete(TraceScreen* this); + +void TraceScreen_draw(TraceScreen* this); + +void TraceScreen_run(TraceScreen* this); + +#endif + |