20 #ifndef GRAPHNEEDSSAVINGOBSERVER_H 21 #define GRAPHNEEDSSAVINGOBSERVER_H 23 #include <tulip/Observable.h> 50 QMainWindow* _mainWindow;
53 void removeObservers();
74 bool needsSaving()
const;
93 virtual void treatEvents(
const std::vector<Event>&);
105 #endif //GRAPHNEEDSSAVINGOBSERVER_H
The GraphNeedsSavingObserver class will observe a graph and tells if it has been modified.
The Observable class is the base of Tulip's observation system.