aboutsummaryrefslogtreecommitdiff
path: root/GateAnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'GateAnd.h')
-rw-r--r--GateAnd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/GateAnd.h b/GateAnd.h
index f3ba3a7..5de827c 100644
--- a/GateAnd.h
+++ b/GateAnd.h
@@ -9,10 +9,14 @@ public:
~GateAnd() = default;
virtual GateAnd * clone() const;
-private:
+protected:
SignalLevel level();
+ int min_inputs = 0;
+ int max_inputs = -1;
using Node::Node;
+
+private:
constexpr static const char * type = "and";
static GateAnd instance;
};