aboutsummaryrefslogtreecommitdiffstats
path: root/TraceScreen.h
blob: e26737c50fe5f2b49ad2b356147c5fe02b759079 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy