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_ListItem
|
|
|
|
#define HEADER_ListItem
|
|
|
|
/*
|
2006-06-06 20:28:42 +00:00
|
|
|
htop - ListItem.h
|
2011-05-26 16:35:07 +00:00
|
|
|
(C) 2004-2011 Hisham H. Muhammad
|
2006-03-04 18:16:49 +00:00
|
|
|
Released under the GNU GPL, see the COPYING file
|
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "Object.h"
|
2006-06-06 20:28:42 +00:00
|
|
|
|
2006-03-04 18:16:49 +00:00
|
|
|
typedef struct ListItem_ {
|
|
|
|
Object super;
|
|
|
|
char* value;
|
|
|
|
int key;
|
2015-01-22 01:27:31 +00:00
|
|
|
bool moving;
|
2006-03-04 18:16:49 +00:00
|
|
|
} ListItem;
|
|
|
|
|
2006-06-06 20:28:42 +00:00
|
|
|
|
2018-01-28 06:09:06 +00:00
|
|
|
void ListItem_delete(Object* cast);
|
|
|
|
|
|
|
|
void ListItem_display(Object* cast, RichString* out);
|
|
|
|
|
2012-12-05 15:12:20 +00:00
|
|
|
extern ObjectClass ListItem_class;
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2018-01-28 06:09:06 +00:00
|
|
|
void ListItem_init(ListItem* this, const char* value, int key);
|
|
|
|
|
2010-02-25 01:43:18 +00:00
|
|
|
ListItem* ListItem_new(const char* value, int key);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2012-11-10 00:31:37 +00:00
|
|
|
void ListItem_append(ListItem* this, const char* text);
|
2006-06-06 20:28:42 +00:00
|
|
|
|
2006-03-04 18:16:49 +00:00
|
|
|
const char* ListItem_getRef(ListItem* this);
|
|
|
|
|
2014-04-25 22:41:23 +00:00
|
|
|
long ListItem_compare(const void* cast1, const void* cast2);
|
2006-06-06 20:28:42 +00:00
|
|
|
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#endif
|