+++ /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
-
-LIB_CLIENT_IDL = VISU_Gen.idl SALOME_Component.idl \
- SALOME_Exception.idl SALOME_GenericObj.idl \
- SALOMEDS.idl SALOMEDS_Attributes.idl MED.idl
-
-# 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, bool wait, VISU::Base_i* aSender, bool autoRelease )
-: SALOME_Event ( eventType, wait, autoRelease ),
- mySender( aSender )
-{
-}
-
-//===========================================================
-/*!
- * VISU_Event::~VISU_Event
- * Destructor
- */
-//===========================================================
-VISU_Event::~VISU_Event()
-{
-}
-
-//===========================================================
-/*!
- * VISU_ViewEvent::VISU_ViewEvent
- * Constructor
- */
-//===========================================================
-VISU_ViewEvent::VISU_ViewEvent( int eventType, bool wait, VISU::Base_i* aSender, bool autoRelease )
-: VISU_Event ( eventType, wait, aSender, autoRelease )
-{
- myArg = VISU::Base::_nil();
- myView = VISU::View::_nil();
-}
-
-//===========================================================
-/*!
- * VISU_ViewEvent::~VISU_ViewEvent
- * Destructor
- */
-//===========================================================
-VISU_ViewEvent::~VISU_ViewEvent()
-{
-}
-
-//===========================================================
-/*!
- * Function: VISU_ViewEvent::SetArg
- * Purpose: Sets argument of view creation
- */
-//===========================================================
-void VISU_ViewEvent::setArg( VISU::Base_ptr theArg )
-{
- myArg = theArg;
-}
-
-//===========================================================
-/*!
- * Function: VISU_ViewEvent::GetArg
- * Purpose: Returns argument of view creation
- */
-//===========================================================
-VISU::Base_ptr VISU_ViewEvent::getArg()
-{
- return myArg;
-}
-
-//===========================================================
-/*!
- * Function: VISU_ViewEvent::SetView
- * Purpose:
- */
-//===========================================================
-void VISU_ViewEvent::setView( VISU::View_ptr theView )
-{
- myView = theView;
-}
-
-//===========================================================
-/*!
- * Function: VISU_ViewEvent::GetView
- * Purpose:
- */
-//===========================================================
-VISU::View_ptr VISU_ViewEvent::getView()
-{
- return myView;
-}
-
+++ /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"
-
-#include "SALOMEconfig.h"
-#include CORBA_SERVER_HEADER(VISU_Gen)
-namespace VISU{
- class Base_i;
-}
-
-// VISU event types: 10000...10999
-#define VISU_START_EVENT 10000
-
-/* Customized VISU component event */
-class VISU_Event : public SALOME_Event {
-public:
- enum {
- Create3DView = VISU_START_EVENT,
- CreateTableView,
- CreateXYPlot,
- DestroyView,
- // san - test events
- CreateTestViewEvent,
- ShowTestObjectEvent,
- // san - test events
- LastEvent = VISU_START_EVENT + 1000 };
-
- VISU_Event( int eventType, bool wait, VISU::Base_i* sender = 0, bool autoRelease = false );
- virtual ~VISU_Event();
-
- VISU::Base_i* sender() { return mySender; }
-
-private:
- VISU::Base_i* mySender;
-};
-
-class VISU_ViewEvent : public VISU_Event
-{
-public:
- VISU_ViewEvent( int eventType, bool wait, VISU::Base_i* sender = 0, bool autoRelease = false );
- virtual ~VISU_ViewEvent();
-
- void setArg( VISU::Base_ptr );
- VISU::Base_ptr getArg();
-
- void setView( VISU::View_ptr );
- VISU::View_ptr getView();
-private:
- VISU::Base_ptr myArg;
- VISU::View_ptr myView;
-};
-
-#endif