diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2007-11-08 23:23:01 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2007-11-08 23:23:01 +0000 |
commit | a7c2aedcecd3763464e83f80bd6c4f1216f58428 (patch) | |
tree | 9dad109961beaf321bf352ef58881a0625c893ae /CheckItem.h | |
parent | 46631b59fbc01fb65fa752a00ba9382a730aa1aa (diff) |
Improve construction of tree view, properly nesting threads.
Add CPU affinity screen ('a' key).
BUGFIX: Correct display of TPGID field.
Add TGID field.
Diffstat (limited to 'CheckItem.h')
-rw-r--r-- | CheckItem.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/CheckItem.h b/CheckItem.h index e1ad4c9b..359a0ef7 100644 --- a/CheckItem.h +++ b/CheckItem.h @@ -18,7 +18,8 @@ in the source distribution for its full text. typedef struct CheckItem_ { Object super; char* text; - bool* value; + bool value; + bool* ref; } CheckItem; @@ -28,10 +29,14 @@ extern char* CHECKITEM_CLASS; #define CHECKITEM_CLASS NULL #endif -CheckItem* CheckItem_new(char* text, bool* value); +CheckItem* CheckItem_new(char* text, bool* ref, bool value); void CheckItem_delete(Object* cast); +void CheckItem_set(CheckItem* this, bool value); + +bool CheckItem_get(CheckItem* this); + void CheckItem_display(Object* cast, RichString* out); #endif |