aboutsummaryrefslogtreecommitdiffstats
path: root/CheckItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'CheckItem.h')
-rw-r--r--CheckItem.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/CheckItem.h b/CheckItem.h
index d1950ce..86d4aa5 100644
--- a/CheckItem.h
+++ b/CheckItem.h
@@ -3,31 +3,23 @@
#ifndef HEADER_CheckItem
#define HEADER_CheckItem
/*
-htop
-(C) 2004-2010 Hisham H. Muhammad
+htop - CheckItem.h
+(C) 2004-2011 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;
+ bool value;
} CheckItem;
-#ifdef DEBUG
-extern char* CHECKITEM_CLASS;
-#else
-#define CHECKITEM_CLASS NULL
-#endif
+extern ObjectClass CheckItem_class;
CheckItem* CheckItem_new(char* text, bool* ref, bool value);