aboutsummaryrefslogtreecommitdiff
path: root/Net.h
diff options
context:
space:
mode:
Diffstat (limited to 'Net.h')
-rw-r--r--Net.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/Net.h b/Net.h
index 150c9b6..7168186 100644
--- a/Net.h
+++ b/Net.h
@@ -2,14 +2,18 @@
#include "Observer.h"
-enum SignalLevel {LOW, HIGH, UNDEFINED};
+enum SignalLevel {
+ LOW,
+ HIGH,
+ UNDEFINED
+};
-class Net: public Subject {
+class Net : public Subject {
private:
SignalLevel level = UNDEFINED;
public:
- Net(/* args */);
- ~Net();
+ Net() = default;
+ virtual ~Net() = default;
virtual void setLevel(SignalLevel);
virtual SignalLevel getLevel();
};