htop/CheckItem.h

33 lines
662 B
C
Raw Normal View History

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_CheckItem
#define HEADER_CheckItem
/*
2011-12-26 21:35:57 +00:00
htop - CheckItem.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"
typedef struct CheckItem_ {
Object super;
char* text;
bool* ref;
2014-02-27 19:35:22 +00:00
bool value;
2006-03-04 18:16:49 +00:00
} CheckItem;
extern ObjectClass CheckItem_class;
2006-03-04 18:16:49 +00:00
extern CheckItem* CheckItem_newByRef(char* text, bool* ref);
extern CheckItem* CheckItem_newByVal(char* text, bool value);
2006-03-04 18:16:49 +00:00
extern void CheckItem_set(CheckItem* this, bool value);
extern bool CheckItem_get(CheckItem* this);
2006-03-04 18:16:49 +00:00
#endif