summaryrefslogtreecommitdiff
path: root/ListItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'ListItem.h')
-rw-r--r--ListItem.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/ListItem.h b/ListItem.h
index 17b2fcf..84d0102 100644
--- a/ListItem.h
+++ b/ListItem.h
@@ -1,9 +1,9 @@
-/* Do not edit this file. It was automatically genarated. */
+/* Do not edit this file. It was automatically generated. */
#ifndef HEADER_ListItem
#define HEADER_ListItem
/*
-htop
+htop - ListItem.h
(C) 2004-2006 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
@@ -16,24 +16,27 @@ in the source distribution for its full text.
#include "debug.h"
+
typedef struct ListItem_ {
Object super;
char* value;
int key;
} ListItem;
+
extern char* LISTITEM_CLASS;
ListItem* ListItem_new(char* value, int key);
+void ListItem_append(ListItem* this, char* text);
+
void ListItem_delete(Object* cast);
void ListItem_display(Object* cast, RichString* out);
-void ListItem_append(ListItem* this, char* text);
-
const char* ListItem_getRef(ListItem* this);
-int ListItem_compare(const Object*, const Object*);
+int ListItem_compare(const Object* cast1, const Object* cast2);
+
#endif