2006-06-06 20:28:42 +00:00
|
|
|
/* Do not edit this file. It was automatically generated. */
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#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;
|
2007-11-08 23:23:01 +00:00
|
|
|
bool value;
|
|
|
|
bool* ref;
|
2006-03-04 18:16:49 +00:00
|
|
|
} CheckItem;
|
|
|
|
|
|
|
|
|
2006-07-11 06:13:32 +00:00
|
|
|
#ifdef DEBUG
|
2006-06-06 20:28:42 +00:00
|
|
|
extern char* CHECKITEM_CLASS;
|
2006-07-11 06:13:32 +00:00
|
|
|
#else
|
|
|
|
#define CHECKITEM_CLASS NULL
|
|
|
|
#endif
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2007-11-08 23:23:01 +00:00
|
|
|
CheckItem* CheckItem_new(char* text, bool* ref, bool value);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2007-11-08 23:23:01 +00:00
|
|
|
void CheckItem_set(CheckItem* this, bool value);
|
|
|
|
|
|
|
|
bool CheckItem_get(CheckItem* this);
|
|
|
|
|
2006-03-04 18:16:49 +00:00
|
|
|
#endif
|