#include "Observer.h"
+//Includes same project
+#include "GlobalConstants.h"
+
//Includes std
#include <iostream>
#include <vector>
//Public methods
void addObserver(Observer *observer);
- bool hasChanged();
-
- void notifyObservers();
-
- void setChanged();
+ void notifyObservers(int idCaller,int command=REPAINT);
private:
- //Private Attributes
- bool _changed;
-
+ //Private Attributes
std::vector<Observer*> _observers;
//Private Methods