From 2891ae1a2167096adab07629031d8f9f630a6cd9 Mon Sep 17 00:00:00 2001 From: smh Date: Tue, 30 Mar 2004 14:52:33 +0000 Subject: [PATCH] Library for SALOME_Event object added --- src/VISU_I/Makefile.in | 2 +- src/VISU_I/VISU_Gen_i.cc | 17 +++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/VISU_I/Makefile.in b/src/VISU_I/Makefile.in index abc4a5cb..59f715ef 100644 --- a/src/VISU_I/Makefile.in +++ b/src/VISU_I/Makefile.in @@ -54,7 +54,7 @@ CPPFLAGS += -ftemplate-depth-32 $(QT_INCLUDES) $(PYTHON_INCLUDES) $(OCC_INCLUDES LDFLAGS += $(QT_MT_LIBS) $(VTK_LIBS) $(QWT_LIBS) -lSalomeNS -lTOOLSDS \ -lSalomeContainer -lOpUtil -lSalomeGUI -lVTKViewer -lSalomeHDFPersist \ - -lVisuConvertor -lVisuPipeLine -lVisuObject -lSalomeGenericObj \ + -lVisuConvertor -lVisuPipeLine -lVisuObject -lSalomeGenericObj -lEvent \ -L${KERNEL_ROOT_DIR}/lib/salome LIBS+= $(PYTHON_LIBS) $(MED2_LIBS) $(HDF5_LIBS) -lPlot2d \ diff --git a/src/VISU_I/VISU_Gen_i.cc b/src/VISU_I/VISU_Gen_i.cc index 1b0d1a3c..59f69286 100644 --- a/src/VISU_I/VISU_Gen_i.cc +++ b/src/VISU_I/VISU_Gen_i.cc @@ -58,8 +58,6 @@ #include #include "SALOME_Event.hxx" -#include -#define EVENT_TIMEOUT 300000 using namespace std; @@ -894,16 +892,15 @@ namespace VISU{ /*! SAN & VSR : Test QT_EVENT >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */ + #define TEST_EVENT 1 void VISU_Gen_i::DoSomething() { - static int myCounter = 0; - MESSAGE("VISU_Gen_i::DoSomething : "<DoSomething(); -- 2.39.2