CheckItem.h 634 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

#ifndef HEADER_CheckItem
#define HEADER_CheckItem
/*
Hisham Muhammad's avatar
Hisham Muhammad committed
6
htop - CheckItem.h
Hisham Muhammad's avatar
Hisham Muhammad committed
7
(C) 2004-2011 Hisham H. Muhammad
Hisham Muhammad's avatar
Hisham Muhammad committed
8
9
10
11
12
13
14
15
16
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/

#include "Object.h"

typedef struct CheckItem_ {
   Object super;
   char* text;
17
18
   bool value;
   bool* ref;
Hisham Muhammad's avatar
Hisham Muhammad committed
19
20
21
} CheckItem;


22
#ifdef DEBUG
Hisham Muhammad's avatar
Hisham Muhammad committed
23
extern char* CHECKITEM_CLASS;
24
25
26
#else
#define CHECKITEM_CLASS NULL
#endif
Hisham Muhammad's avatar
Hisham Muhammad committed
27

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

30
31
32
33
void CheckItem_set(CheckItem* this, bool value);

bool CheckItem_get(CheckItem* this);

Hisham Muhammad's avatar
Hisham Muhammad committed
34
#endif