]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.h
Stable version ... The connection is correctly painted :)
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / Observable.h
index 72e1e80cb6b50b8f6c4f30daae39d4660b57ac70..c00e754814f4e76f59dc1c0900327dbcc9afa27a 100644 (file)
@@ -47,6 +47,9 @@ Version:   $Revision$
 
 #include "Observer.h"
 
+//Includes same project
+#include "GlobalConstants.h"
+
 //Includes std
 #include <iostream>
 #include <vector>
@@ -66,17 +69,11 @@ namespace bbtk
                //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