#ifndef _CONNECTION_MANAGER_I_HXX_
#define _CONNECTION_MANAGER_I_HXX_
+#include <DSC_Basic.hxx>
+
#include <iostream>
#include <map>
#include <pthread.h>
/*! \class ConnectionManager_i
* \brief This class implements the interface Engines::ConnectionManager.
*/
-class ConnectionManager_i :
+class DSC_BASIC_EXPORT ConnectionManager_i :
public virtual POA_Engines::ConnectionManager
{
public :
--- /dev/null
+// 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 : DSC_Basic.hxx
+// Author : Natalia ERMOLAYEVA
+// Module : SALOME
+
+#ifndef _DSC_Basic_HXX_
+#define _DSC_Basic_HXX_
+
+#ifdef WNT
+ #if defined DSC_BASIC_EXPORTS
+ #if defined WIN32
+ #define DSC_BASIC_EXPORT __declspec( dllexport )
+ #else
+ #define DSC_BASIC_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define DSC_BASIC_EXPORT __declspec( dllimport )
+ #else
+ #define DSC_BASIC_EXPORT
+ #endif
+ #endif
+#else
+ #define DSC_BASIC_EXPORT
+#endif
+
+#endif
\ No newline at end of file
#ifndef _DSC_CALLBACKS_HXX_
#define _DSC_CALLBACKS_HXX_
+#include <DSC_Basic.hxx>
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(DSC_Engines)
* uses to prevent the component user code that the state of the component has changed.
* Currently only port's connection modifications are signaled.
*/
-class DSC_Callbacks
+class DSC_BASIC_EXPORT DSC_Callbacks
{
public:
DSC_Callbacks() {}
#ifndef _DSC_I_HXX_
#define _DSC_I_HXX_
+#include <DSC_Basic.hxx>
+
#include <iostream>
#include <map>
#include <string.h>
*
* The implementation of methods are performed by the class Engines_DSC_interface.
*/
-class Engines_DSC_i:
+class DSC_BASIC_EXPORT Engines_DSC_i:
public Engines_Component_i, // keyword virtual is not use to be able to
// call the right Engines_Component_i constructor.
// If virtual is used, a derived class of Engines_DSC_i
// Author : André RIBES (EDF)
// Module : KERNEL
+#include <string>
#include "DSC_interface.hxx"
Engines_DSC_interface::Engines_DSC_interface() {}
DSC_Callbacks.hxx \
DSC_i.hxx \
DSC_interface.hxx \
- PortProperties_i.hxx
+ PortProperties_i.hxx \
+ DSC_Basic.hxx
#
# ===============================================================
# Local definitions
#ifndef _PORTPROPERTIES_I_HXX_
#define _PORTPROPERTIES_I_HXX_
+#include <DSC_Basic.hxx>
+
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SALOME_Ports)
/*! \class PortProperties_i
* \brief This class implements the interface Ports::PortProperties.
*/
-class PortProperties_i:
+class DSC_BASIC_EXPORT PortProperties_i:
public virtual POA_Ports::PortProperties
{
public: