From: smh Date: Thu, 1 Apr 2004 13:13:41 +0000 (+0000) Subject: SALOME_Event ideology changed X-Git-Tag: mergeto_Event_Server_20Apr04~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=acb25e21cd33e945b9f48abd4b12c73b30f6a5b6;p=modules%2Fvisu.git SALOME_Event ideology changed --- diff --git a/src/VISU_Event/VISU_Event.cxx b/src/VISU_Event/VISU_Event.cxx index fdcb3792..b1d0837d 100644 --- a/src/VISU_Event/VISU_Event.cxx +++ b/src/VISU_Event/VISU_Event.cxx @@ -34,7 +34,7 @@ * Constructor */ //=========================================================== -VISU_Event::VISU_Event( int eventType, SALOME_Semaphore* s ) : SALOME_Event ( eventType, s ) +VISU_Event::VISU_Event( int eventType, bool wait ) : SALOME_Event ( eventType, wait ) { } diff --git a/src/VISU_Event/VISU_Event.h b/src/VISU_Event/VISU_Event.h index dfa46e33..c91b87ba 100644 --- a/src/VISU_Event/VISU_Event.h +++ b/src/VISU_Event/VISU_Event.h @@ -31,15 +31,21 @@ #include "SALOME_Event.hxx" +// VISU event types: 10000...11000 #define VISU_START_EVENT 10000 /* Customized VISU component event */ class VISU_Event : public SALOME_Event { public: - enum { CreateTestViewEvent = VISU_START_EVENT, ShowTestObjectEent, LastEvent = VISU_START_EVENT + 200 }; + enum { + CreateTestViewEvent = VISU_START_EVENT, + ShowTestObjectEent, + LastEvent = VISU_START_EVENT + 999 }; - VISU_Event( int eventType, SALOME_Semaphore* s = 0 ); - ~VISU_Event(); + VISU_Event( int eventType, bool wait ); + virtual ~VISU_Event(); + + // Custom data can be added here... }; #endif