aboutsummaryrefslogtreecommitdiffstats
path: root/CheckItem.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:22 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:22 +0200
commit9379132a8234eeedf62d37ef57713e52c12db6ab (patch)
tree3c1e0d924af0d44be9b14cab8ea1c05a946cdfe3 /CheckItem.h
parent9675cf654d86464344e56705db7a71ea17f76c6f (diff)
downloaddebian_htop-9379132a8234eeedf62d37ef57713e52c12db6ab.tar.gz
debian_htop-9379132a8234eeedf62d37ef57713e52c12db6ab.tar.bz2
debian_htop-9379132a8234eeedf62d37ef57713e52c12db6ab.zip
Imported Upstream version 0.7upstream/0.7
Diffstat (limited to 'CheckItem.h')
-rw-r--r--CheckItem.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/CheckItem.h b/CheckItem.h
index e1ad4c9..359a0ef 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

© 2014-2024 Faster IT GmbH | imprint | privacy policy