From acb25e21cd33e945b9f48abd4b12c73b30f6a5b6 Mon Sep 17 00:00:00 2001 From: smh Date: Thu, 1 Apr 2004 13:13:41 +0000 Subject: [PATCH] SALOME_Event ideology changed --- src/VISU_Event/VISU_Event.cxx | 2 +- src/VISU_Event/VISU_Event.h | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) 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 -- 2.39.2