@COMMENCE@
-SUBDIRS = CONVERTOR PIPELINE OBJECT VISU_I VISUGUI VISU_SWIG
+SUBDIRS = CONVERTOR PIPELINE OBJECT VISU_I VISU_Event VISUGUI VISU_SWIG
@MODULE@
--- /dev/null
+# VISU VISU_Event : Define events for VISU component
+#
+# Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+#
+#
+#
+# File : Makefile.in
+# Author : Vadim SANDLER
+# Module : VISU
+# $Header$
+
+top_srcdir=@top_srcdir@
+top_builddir=../..
+srcdir=@srcdir@
+VPATH=.:@srcdir@
+
+@COMMENCE@
+
+# header files
+EXPORT_HEADERS= \
+ VISU_Event.h
+
+# Libraries targets
+LIB = libVISUEvent.la
+LIB_SRC = \
+ VISU_Event.cxx
+
+# additionnal information to compil and link file
+
+CPPFLAGS += $(QT_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
+CXXFLAGS += $(QT_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
+LDFLAGS += ${QT_MT_LIBS} -lEvent -L${KERNEL_ROOT_DIR}/lib/salome
+
+
+@CONCLUDE@
+
--- /dev/null
+// VISU VISU_Event : Define events for VISU component
+//
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : VISU_Event.cxx
+// Author : Vadim SANDLER
+// Module : VISU
+// $Header$
+
+#include "VISU_Event.h"
+
+//===========================================================
+/*!
+ * VISU_Event::VISU_Event
+ * Constructor
+ */
+//===========================================================
+VISU_Event::VISU_Event( int eventType, SALOME_Semaphore* s ) : SALOME_Event ( eventType, s )
+{
+}
+
+//===========================================================
+/*!
+ * VISU_Event::VISU_Event
+ * Destructor
+ */
+//===========================================================
+VISU_Event::~VISU_Event()
+{
+}
--- /dev/null
+// VISU VISU_Event : Define events for VISU component
+//
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : VISU_Event.h
+// Author : Vadim SANDLER
+// Module : VISU
+// $Header$
+
+#ifndef VISU_Event_HeaderFile
+#define VISU_Event_HeaderFile
+
+#include "SALOME_Event.hxx"
+
+#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 };
+
+ VISU_Event( int eventType, SALOME_Semaphore* s = 0 );
+ ~VISU_Event();
+};
+
+#endif