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
   bool* ref;
Hisham Muhammad's avatar
Hisham Muhammad committed
18
   bool value;
Hisham Muhammad's avatar
Hisham Muhammad committed
19
20
21
} CheckItem;


22
extern ObjectClass CheckItem_class;
Hisham Muhammad's avatar
Hisham Muhammad committed
23

24
25
26
CheckItem* CheckItem_newByRef(char* text, bool* ref);

CheckItem* CheckItem_newByVal(char* text, bool value);
Hisham Muhammad's avatar
Hisham Muhammad committed
27

28
29
30
31
void CheckItem_set(CheckItem* this, bool value);

bool CheckItem_get(CheckItem* this);

Hisham Muhammad's avatar
Hisham Muhammad committed
32
#endif