aboutsummaryrefslogtreecommitdiff
path: root/Observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Observer.h')
-rw-r--r--Observer.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/Observer.h b/Observer.h
index 0661bf0..20ca887 100644
--- a/Observer.h
+++ b/Observer.h
@@ -2,11 +2,8 @@
#include <vector>
class Observer {
-private:
-
public:
virtual void update() = 0;
-
};
class Subject {
@@ -18,11 +15,6 @@ public:
virtual void detach(Observer*);
virtual int size();
- // TODO possibly add foo input as update value?
virtual void notify();
- // virtual void notify() {
- // for (int i = 0; i < observers.size(); i++)
- // observers.at(i)->update();
- // }
};