aboutsummaryrefslogtreecommitdiff
path: root/GateOr.h
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2024-06-12 20:06:48 +0200
committerUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2024-06-12 20:06:48 +0200
commitf1de485461b4cbb5dda4705323b416abec39b574 (patch)
treed8754423e16e87b299fdd747f7490d3e1f756474 /GateOr.h
parent50d3fb09278d57b5a35e15074cc025a62476c5a7 (diff)
parent26a7c785113e4e8343685b33d8ac4aa2023380f3 (diff)
Merge remote-tracking branch 'origin/node'
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;
};