20 #ifndef GRAPHNEEDSSAVINGOBSERVER_H 21 #define GRAPHNEEDSSAVINGOBSERVER_H 23 #include <tulip/Observable.h> 51 QMainWindow *_mainWindow;
54 void removeObservers();
76 bool needsSaving()
const;
97 void treatEvents(
const std::vector<Event> &)
override;
109 #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.