summaryrefslogtreecommitdiff
path: root/BinaryDisplay.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-30 16:41:17 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-30 16:41:17 +0930
commit93f4f323e5374e65a9cadd5903fa020188e59ee1 (patch)
tree7484749791728ae439131ec7397472c02e7d477d /BinaryDisplay.h
parent61a3297b662b1bd8621016c8b5b492dd37bf5675 (diff)
downloadfoxlogicgates-93f4f323e5374e65a9cadd5903fa020188e59ee1.tar.gz
foxlogicgates-93f4f323e5374e65a9cadd5903fa020188e59ee1.zip
Functionality: basic binary display functions, needs work
Diffstat (limited to 'BinaryDisplay.h')
-rw-r--r--BinaryDisplay.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/BinaryDisplay.h b/BinaryDisplay.h
index a92204c..488e889 100644
--- a/BinaryDisplay.h
+++ b/BinaryDisplay.h
@@ -20,6 +20,17 @@ class BinaryDisplay : public Object
Object *get_input6() { return input6; };
Object *get_input7() { return input7; };
+ void set_input0(Object *object_) { input0 = object_; };
+ void set_input1(Object *object_) { input1 = object_; };
+ void set_input2(Object *object_) { input2 = object_; };
+ void set_input3(Object *object_) { input3 = object_; };
+ void set_input4(Object *object_) { input4 = object_; };
+ void set_input5(Object *object_) { input5 = object_; };
+ void set_input6(Object *object_) { input6 = object_; };
+ void set_input7(Object *object_) { input7 = object_; };
+
+ void remove_input(int id);
+
int get_sum_value() { return sum_value; };
private: