diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2012-04-17 15:05:59 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2012-04-17 15:05:59 +0530 |
commit | 96a11754a6950bfe50784c0877cb64b1ed7d2b18 (patch) | |
tree | b977131bbbb4c3bd8ade370aab2e4fc913440c04 /ListItem.h | |
download | android_external_htop-96a11754a6950bfe50784c0877cb64b1ed7d2b18.tar.gz android_external_htop-96a11754a6950bfe50784c0877cb64b1ed7d2b18.tar.bz2 android_external_htop-96a11754a6950bfe50784c0877cb64b1ed7d2b18.zip |
add original htop code
htop-0.9 downloaded from http://archive.ubuntu.com/ubuntu/pool/universe/h/htop/htop_0.9.orig.tar.gz
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'ListItem.h')
-rw-r--r-- | ListItem.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ListItem.h b/ListItem.h new file mode 100644 index 0000000..cc13d73 --- /dev/null +++ b/ListItem.h @@ -0,0 +1,42 @@ +/* Do not edit this file. It was automatically generated. */ + +#ifndef HEADER_ListItem +#define HEADER_ListItem +/* +htop - ListItem.h +(C) 2004-2010 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; + char* value; + int key; +} ListItem; + + +#ifdef DEBUG +extern char* LISTITEM_CLASS; +#else +#define LISTITEM_CLASS NULL +#endif + +ListItem* ListItem_new(const char* value, int key); + +void ListItem_append(ListItem* this, char* text); + +const char* ListItem_getRef(ListItem* this); + +int ListItem_compare(const void* cast1, const void* cast2); + + +#endif |