From: abd Date: Fri, 31 Mar 2006 14:07:11 +0000 (+0000) Subject: Exports symbols X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3b8bbad368d12bcc6c6009996cf6a94a1009a06;p=modules%2Fgeom.git Exports symbols --- diff --git a/src/GEOM_I/GEOM_GEOM_I.hxx b/src/GEOM_I/GEOM_GEOM_I.hxx new file mode 100755 index 000000000..0d0d57396 --- /dev/null +++ b/src/GEOM_I/GEOM_GEOM_I.hxx @@ -0,0 +1,47 @@ +// 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 diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc index c7a7f73f4..27982a0cd 100644 --- a/src/GEOM_I/GEOM_Gen_i.cc +++ b/src/GEOM_I/GEOM_Gen_i.cc @@ -871,9 +871,7 @@ GEOM::GEOM_Object_ptr GEOM_Gen_i::GetObject (CORBA::Long theStudyID, const char* //===================================================================================== 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, diff --git a/src/GEOM_I/GEOM_Gen_i.hh b/src/GEOM_I/GEOM_Gen_i.hh index 4c31be326..8c65d835e 100644 --- a/src/GEOM_I/GEOM_Gen_i.hh +++ b/src/GEOM_I/GEOM_Gen_i.hh @@ -20,6 +20,8 @@ #ifndef __GEOM_GEN_I_H__ #define __GEOM_GEN_I_H__ +#include "GEOM_GEOM_I.hxx" + #include "GEOMImpl_Gen.hxx" // IDL headers @@ -52,7 +54,7 @@ //===================================================================== // 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: diff --git a/src/GEOM_I/GEOM_I3DPrimOperations_i.hh b/src/GEOM_I/GEOM_I3DPrimOperations_i.hh index acee1fdfc..b4cdebc5d 100644 --- a/src/GEOM_I/GEOM_I3DPrimOperations_i.hh +++ b/src/GEOM_I/GEOM_I3DPrimOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_I3DPrimOperations_i_HeaderFile #define _GEOM_I3DPrimOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_IBasicOperations_i.hh b/src/GEOM_I/GEOM_IBasicOperations_i.hh index e46f50431..28edf9e49 100644 --- a/src/GEOM_I/GEOM_IBasicOperations_i.hh +++ b/src/GEOM_I/GEOM_IBasicOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IBasicOperations_i_HeaderFile #define _GEOM_IBasicOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_IBlocksOperations_i.hh b/src/GEOM_I/GEOM_IBlocksOperations_i.hh index b4ff44f8e..3d8dd7ce2 100644 --- a/src/GEOM_I/GEOM_IBlocksOperations_i.hh +++ b/src/GEOM_I/GEOM_IBlocksOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IBlocksOperations_i_HeaderFile #define _GEOM_IBlocksOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_IBooleanOperations_i.hh b/src/GEOM_I/GEOM_IBooleanOperations_i.hh index d0afa8461..84b86ead3 100644 --- a/src/GEOM_I/GEOM_IBooleanOperations_i.hh +++ b/src/GEOM_I/GEOM_IBooleanOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IBooleanOperations_i_HeaderFile #define _GEOM_IBooleanOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_ICurvesOperations_i.hh b/src/GEOM_I/GEOM_ICurvesOperations_i.hh index 692422980..0b6babae5 100644 --- a/src/GEOM_I/GEOM_ICurvesOperations_i.hh +++ b/src/GEOM_I/GEOM_ICurvesOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_ICurvesOperations_i_HeaderFile #define _GEOM_ICurvesOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_IGroupOperations_i.hh b/src/GEOM_I/GEOM_IGroupOperations_i.hh index 4273c731d..1e7aabe8b 100644 --- a/src/GEOM_I/GEOM_IGroupOperations_i.hh +++ b/src/GEOM_I/GEOM_IGroupOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IGroupOperations_i_HeaderFile #define _GEOM_IGroupOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_IHealingOperations_i.hh b/src/GEOM_I/GEOM_IHealingOperations_i.hh index 855059540..acb75438b 100644 --- a/src/GEOM_I/GEOM_IHealingOperations_i.hh +++ b/src/GEOM_I/GEOM_IHealingOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IHealingOperations_i_HeaderFile #define _GEOM_IHealingOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -33,7 +34,7 @@ #include #include -class GEOM_IHealingOperations_i : +class GEOM_I_EXPORT GEOM_IHealingOperations_i : public virtual POA_GEOM::GEOM_IHealingOperations, public virtual GEOM_IOperations_i { diff --git a/src/GEOM_I/GEOM_IInsertOperations_i.hh b/src/GEOM_I/GEOM_IInsertOperations_i.hh index ad98c51de..d9f8f6050 100644 --- a/src/GEOM_I/GEOM_IInsertOperations_i.hh +++ b/src/GEOM_I/GEOM_IInsertOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IInsertOperations_i_HeaderFile #define _GEOM_IInsertOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_ILocalOperations_i.hh b/src/GEOM_I/GEOM_ILocalOperations_i.hh index 35eab0de9..5e7632e62 100644 --- a/src/GEOM_I/GEOM_ILocalOperations_i.hh +++ b/src/GEOM_I/GEOM_ILocalOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_ILocalOperations_i_HeaderFile #define _GEOM_ILocalOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_IMeasureOperations_i.hh b/src/GEOM_I/GEOM_IMeasureOperations_i.hh index 81639bfc0..933817693 100644 --- a/src/GEOM_I/GEOM_IMeasureOperations_i.hh +++ b/src/GEOM_I/GEOM_IMeasureOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IMeasureOperations_i_HeaderFile #define _GEOM_IMeasureOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_IOperations_i.hh b/src/GEOM_I/GEOM_IOperations_i.hh index e73120afa..0a0894ff3 100644 --- a/src/GEOM_I/GEOM_IOperations_i.hh +++ b/src/GEOM_I/GEOM_IOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IOperations_i_HeaderFile #define _GEOM_IOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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); diff --git a/src/GEOM_I/GEOM_IShapesOperations_i.hh b/src/GEOM_I/GEOM_IShapesOperations_i.hh index eb48a0f74..fc51c164a 100644 --- a/src/GEOM_I/GEOM_IShapesOperations_i.hh +++ b/src/GEOM_I/GEOM_IShapesOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_IShapesOperations_i_HeaderFile #define _GEOM_IShapesOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_ITransformOperations_i.hh b/src/GEOM_I/GEOM_ITransformOperations_i.hh index 7cb17e1be..6c3345d95 100644 --- a/src/GEOM_I/GEOM_ITransformOperations_i.hh +++ b/src/GEOM_I/GEOM_ITransformOperations_i.hh @@ -21,6 +21,7 @@ #ifndef _GEOM_ITransformOperations_i_HeaderFile #define _GEOM_ITransformOperations_i_HeaderFile +#include "GEOMImpl_Gen.hxx" #include @@ -30,7 +31,7 @@ #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 { diff --git a/src/GEOM_I/GEOM_Object_i.hh b/src/GEOM_I/GEOM_Object_i.hh index ab5779589..d8a0f4b70 100644 --- a/src/GEOM_I/GEOM_Object_i.hh +++ b/src/GEOM_I/GEOM_Object_i.hh @@ -21,6 +21,9 @@ #ifndef _GEOM_Object_i_HeaderFile #define _GEOM_Object_i_HeaderFile +#include "GEOM_GEOM_I.hxx" + +#include "GEOMImpl_Gen.hxx" #include #include CORBA_CLIENT_HEADER(SALOMEDS) @@ -32,7 +35,7 @@ #include -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);