aboutsummaryrefslogtreecommitdiff
path: root/GateOr.h
diff options
context:
space:
mode:
Diffstat (limited to 'GateOr.h')
-rw-r--r--GateOr.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/GateOr.h b/GateOr.h
index de694be..0668148 100644
--- a/GateOr.h
+++ b/GateOr.h
@@ -9,11 +9,16 @@ public:
~GateOr() = default;
virtual GateOr * clone() const;
-private:
+protected:
SignalLevel level();
+private:
using Node::Node;
constexpr static const char * type = "or";
static GateOr instance;
+
+private:
+ int min_inputs = 0;
+ int max_inputs = -1;
};