--- /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 : GEOM_GEOM_I.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_GEOM_I_HXX_
+#define _GEOM_GEOM_I_HXX_
+
+#ifdef WNT
+ #if defined GEOM_I_EXPORTS
+ #if defined WIN32
+ #define GEOM_I_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_I_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_I_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_I_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_I_EXPORT
+#endif
+
+#endif
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+GEOM_I_EXPORT
PortableServer::ObjectId * GEOMEngine_factory(CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa,
PortableServer::ObjectId * contId,
#ifndef __GEOM_GEN_I_H__
#define __GEOM_GEN_I_H__
+#include "GEOM_GEOM_I.hxx"
+
#include "GEOMImpl_Gen.hxx"
// IDL headers
//=====================================================================
// GEOM_Gen_i : class definition
//=====================================================================
-class GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual public Engines_Component_i
+class GEOM_I_EXPORT GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual public Engines_Component_i
{
public:
#ifndef _GEOM_I3DPrimOperations_i_HeaderFile
#define _GEOM_I3DPrimOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_I3DPrimOperations.hxx"
-class GEOM_I3DPrimOperations_i :
+class GEOM_I_EXPORT GEOM_I3DPrimOperations_i :
public virtual POA_GEOM::GEOM_I3DPrimOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_IBasicOperations_i_HeaderFile
#define _GEOM_IBasicOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_IBasicOperations.hxx"
-class GEOM_IBasicOperations_i :
+class GEOM_I_EXPORT GEOM_IBasicOperations_i :
public virtual POA_GEOM::GEOM_IBasicOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_IBlocksOperations_i_HeaderFile
#define _GEOM_IBlocksOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_IBlocksOperations.hxx"
-class GEOM_IBlocksOperations_i :
+class GEOM_I_EXPORT GEOM_IBlocksOperations_i :
public virtual POA_GEOM::GEOM_IBlocksOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_IBooleanOperations_i_HeaderFile
#define _GEOM_IBooleanOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_IBooleanOperations.hxx"
-class GEOM_IBooleanOperations_i :
+class GEOM_I_EXPORT GEOM_IBooleanOperations_i :
public virtual POA_GEOM::GEOM_IBooleanOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_ICurvesOperations_i_HeaderFile
#define _GEOM_ICurvesOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_ICurvesOperations.hxx"
-class GEOM_ICurvesOperations_i :
+class GEOM_I_EXPORT GEOM_ICurvesOperations_i :
public virtual POA_GEOM::GEOM_ICurvesOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_IGroupOperations_i_HeaderFile
#define _GEOM_IGroupOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_IGroupOperations.hxx"
-class GEOM_IGroupOperations_i :
+class GEOM_I_EXPORT GEOM_IGroupOperations_i :
public virtual POA_GEOM::GEOM_IGroupOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_IHealingOperations_i_HeaderFile
#define _GEOM_IHealingOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include <TColStd_HArray1OfExtendedString.hxx>
#include <TColStd_HArray1OfInteger.hxx>
-class GEOM_IHealingOperations_i :
+class GEOM_I_EXPORT GEOM_IHealingOperations_i :
public virtual POA_GEOM::GEOM_IHealingOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_IInsertOperations_i_HeaderFile
#define _GEOM_IInsertOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_IInsertOperations.hxx"
-class GEOM_IInsertOperations_i :
+class GEOM_I_EXPORT GEOM_IInsertOperations_i :
public virtual POA_GEOM::GEOM_IInsertOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_ILocalOperations_i_HeaderFile
#define _GEOM_ILocalOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_ILocalOperations.hxx"
-class GEOM_ILocalOperations_i :
+class GEOM_I_EXPORT GEOM_ILocalOperations_i :
public virtual POA_GEOM::GEOM_ILocalOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_IMeasureOperations_i_HeaderFile
#define _GEOM_IMeasureOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_IMeasureOperations.hxx"
-class GEOM_IMeasureOperations_i :
+class GEOM_I_EXPORT GEOM_IMeasureOperations_i :
public virtual POA_GEOM::GEOM_IMeasureOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_IOperations_i_HeaderFile
#define _GEOM_IOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOM_Object_i.hh"
#include "GEOM_Object.hxx"
-class GEOM_IOperations_i : public virtual POA_GEOM::GEOM_IOperations, public virtual SALOME::GenericObj_i
+class GEOM_I_EXPORT GEOM_IOperations_i : public virtual POA_GEOM::GEOM_IOperations, public virtual SALOME::GenericObj_i
{
public:
GEOM_IOperations_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOM_IOperations* theImpl);
#ifndef _GEOM_IShapesOperations_i_HeaderFile
#define _GEOM_IShapesOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_IShapesOperations.hxx"
-class GEOM_IShapesOperations_i :
+class GEOM_I_EXPORT GEOM_IShapesOperations_i :
public virtual POA_GEOM::GEOM_IShapesOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_ITransformOperations_i_HeaderFile
#define _GEOM_ITransformOperations_i_HeaderFile
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include "GEOMImpl_ITransformOperations.hxx"
-class GEOM_ITransformOperations_i :
+class GEOM_I_EXPORT GEOM_ITransformOperations_i :
public virtual POA_GEOM::GEOM_ITransformOperations,
public virtual GEOM_IOperations_i
{
#ifndef _GEOM_Object_i_HeaderFile
#define _GEOM_Object_i_HeaderFile
+#include "GEOM_GEOM_I.hxx"
+
+#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
#include CORBA_CLIENT_HEADER(SALOMEDS)
#include <TopoDS_Shape.hxx>
-class GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual SALOME::GenericObj_i
+class GEOM_I_EXPORT GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual SALOME::GenericObj_i
{
public:
GEOM_Object_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, Handle(GEOM_Object) theImpl);