diff options
Diffstat (limited to 'CheckItem.h')
-rw-r--r-- | CheckItem.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/CheckItem.h b/CheckItem.h new file mode 100644 index 0000000..d1950ce --- /dev/null +++ b/CheckItem.h @@ -0,0 +1,38 @@ +/* Do not edit this file. It was automatically generated. */ + +#ifndef HEADER_CheckItem +#define HEADER_CheckItem +/* +htop +(C) 2004-2010 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; + bool value; + bool* ref; +} CheckItem; + + +#ifdef DEBUG +extern char* CHECKITEM_CLASS; +#else +#define CHECKITEM_CLASS NULL +#endif + +CheckItem* CheckItem_new(char* text, bool* ref, bool value); + +void CheckItem_set(CheckItem* this, bool value); + +bool CheckItem_get(CheckItem* this); + +#endif |