TraceScreen.h 706 Bytes
Newer Older
Hisham Muhammad's avatar
Hisham Muhammad committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
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"
18
#include "Panel.h"
Hisham Muhammad's avatar
Hisham Muhammad committed
19
20
21
22
#include "FunctionBar.h"

typedef struct TraceScreen_ {
   Process* process;
23
   Panel* display;
Hisham Muhammad's avatar
Hisham Muhammad committed
24
25
26
27
28
29
30
31
32
33
34
35
36
37
   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