summaryrefslogtreecommitdiffstats
path: root/CheckItem.h
diff options
context:
space:
mode:
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 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