X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FObservable.h;h=0377134cbcbd753b8519a9f2b10693a2088ee59d;hb=aa99bb93c420e8cbd5ed491a3a4480e4b9e4e919;hp=c00e754814f4e76f59dc1c0900327dbcc9afa27a;hpb=eaf825847b9ac4bd762deafa59a7df1c2ceba433;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.h b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.h index c00e754..0377134 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.h +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.h @@ -40,6 +40,12 @@ Version: $Revision$ * \brief */ +/**** +* Design and Developpement of BBTK GEditor +* Ricardo A Corredor J +* RaC - 2010 +****/ + #ifndef __Observable_h__ #define __Observable_h__ @@ -69,7 +75,9 @@ namespace bbtk //Public methods void addObserver(Observer *observer); - void notifyObservers(int idCaller,int command=REPAINT); + // It is possible to notify the observers with an specific command (See GlobalConstants.h), for example, + // to initialize the contour creation INIT_CREATION_CONTOUR + void notifyObservers(int idCaller,int command=NO_COMMAND); private: