CheckItem.h 658 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
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#ifndef HEADER_CheckItem
#define HEADER_CheckItem
/*
htop
(C) 2004-2006 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/

#include "Object.h"
#include "CRT.h"

#include "debug.h"


typedef struct CheckItem_ {
   Object super;
   char* text;
21
22
   bool value;
   bool* ref;
Hisham Muhammad's avatar
Hisham Muhammad committed
23
24
25
} CheckItem;


26
#ifdef DEBUG
Hisham Muhammad's avatar
Hisham Muhammad committed
27
extern char* CHECKITEM_CLASS;
28
29
30
#else
#define CHECKITEM_CLASS NULL
#endif
Hisham Muhammad's avatar
Hisham Muhammad committed
31

32
CheckItem* CheckItem_new(char* text, bool* ref, bool value);
Hisham Muhammad's avatar
Hisham Muhammad committed
33

34
35
36
37
void CheckItem_set(CheckItem* this, bool value);

bool CheckItem_get(CheckItem* this);

Hisham Muhammad's avatar
Hisham Muhammad committed
38
#endif