aboutsummaryrefslogtreecommitdiffstats
path: root/ListItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'ListItem.h')
-rw-r--r--ListItem.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/ListItem.h b/ListItem.h
index cc13d73..a3ca075 100644
--- a/ListItem.h
+++ b/ListItem.h
@@ -4,18 +4,12 @@
#define HEADER_ListItem
/*
htop - ListItem.h
-(C) 2004-2010 Hisham H. Muhammad
+(C) 2004-2011 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
-#include "String.h"
#include "Object.h"
-#include "RichString.h"
-#include <string.h>
-
-#include "debug.h"
-
typedef struct ListItem_ {
Object super;
@@ -24,15 +18,11 @@ typedef struct ListItem_ {
} ListItem;
-#ifdef DEBUG
-extern char* LISTITEM_CLASS;
-#else
-#define LISTITEM_CLASS NULL
-#endif
+extern ObjectClass ListItem_class;
ListItem* ListItem_new(const char* value, int key);
-void ListItem_append(ListItem* this, char* text);
+void ListItem_append(ListItem* this, const char* text);
const char* ListItem_getRef(ListItem* this);