SignalItem.h 769 Bytes
Newer Older
Hisham Muhammad's avatar
Hisham Muhammad committed
1
/* Do not edit this file. It was automatically generated. */
Hisham Muhammad's avatar
Hisham Muhammad committed
2

Hisham Muhammad's avatar
Hisham Muhammad committed
3
4
#ifndef HEADER_SignalItem
#define HEADER_SignalItem
Hisham Muhammad's avatar
Hisham Muhammad committed
5
/*
Hisham Muhammad's avatar
Hisham Muhammad committed
6
htop - SignalItem.h
Hisham Muhammad's avatar
Hisham Muhammad committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(C) 2004-2006 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/

#include "String.h"
#include "Object.h"
#include "RichString.h"
#include <string.h>

#include "debug.h"

#define SIGNAL_COUNT 34


typedef struct Signal_ {
   Object super;
   char* name;
   int number;
} Signal;


29
#ifdef DEBUG
Hisham Muhammad's avatar
Hisham Muhammad committed
30
extern char* SIGNAL_CLASS;
31
32
33
#else
#define SIGNAL_CLASS NULL
#endif
Hisham Muhammad's avatar
Hisham Muhammad committed
34
35
36
37
38
39
40
41
42
43
44
45

Signal* Signal_new(char* name, int number);

void Signal_delete(Object* cast);

void Signal_display(Object* cast, RichString* out);

int Signal_getSignalCount();

Signal** Signal_getSignalTable();

#endif