aboutsummaryrefslogtreecommitdiff
path: root/GateNor.h
diff options
context:
space:
mode:
Diffstat (limited to 'GateNor.h')
-rw-r--r--GateNor.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/GateNor.h b/GateNor.h
index 2c2760d..35b5a74 100644
--- a/GateNor.h
+++ b/GateNor.h
@@ -4,11 +4,16 @@
#include "GateOr.h"
class GateNor : public GateOr {
-private:
+public:
+ virtual GateNor * clone() const;
+
+protected:
SignalLevel level();
+ using GateOr::GateOr;
+private:
+ GateNor(const GateNor *) : GateOr() {}
// GateNor(const char * type);
- using GateOr::GateOr;
constexpr static const char * type = "nor";
static GateNor instance;
};