* 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 )
{
}
#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