--- /dev/null
+// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// Copyright (C) 2003-2007 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+// File : GEOM_I_Superv.hxx
+// Author : Roman NIKOLAEV
+// Module : GEOM
+//
+#ifndef _GEOM_I_SUPERV_HXX_
+#define _GEOM_I_SUPERV_HXX_
+
+#if defined WIN32
+# if defined GEOM_I_Superv_EXPORTS || defined GEOM_SupervEngine_EXPORTS
+# define GEOM_I_SUPERV_EXPORT __declspec( dllexport )
+# else
+# define GEOM_I_SUPERV_EXPORT __declspec( dllimport )
+# endif
+#else
+# define GEOM_I_SUPERV_EXPORT
+#endif
+
+
+#endif //_GEOM_I_SUPERV_HXX_
#ifndef __GEOM_LIST_I_H__
#define __GEOM_LIST_I_H__
+#include "GEOM_I_Superv.hxx"
+
// IDL headers
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(GEOM_Superv)
#include "utilities.h"
template <class Type>
-class GEOM_List_i :
+class GEOM_I_SUPERV_EXPORT GEOM_List_i :
public virtual POA_GEOM::GEOM_List,
public virtual PortableServer::RefCountServantBase
{
//=====================================================================================
extern "C"
{
+#ifdef WIN32
+ __declspec( dllexport )
+#endif
PortableServer::ObjectId * GEOM_SupervEngine_factory(CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa,
PortableServer::ObjectId * contId,
#ifndef __GEOM_SUPERV_I_H__
#define __GEOM_SUPERV_I_H__
+#include "GEOM_I_Superv.hxx"
+
// IDL headers
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(GEOM_Superv)
#include "GEOM_Gen_i.hh"
#include "GEOM_List_i.hh"
-class GEOM_Superv_i : public virtual POA_GEOM::GEOM_Superv,
- public Engines_Component_i
+class GEOM_I_SUPERV_EXPORT GEOM_Superv_i : public virtual POA_GEOM::GEOM_Superv,
+ public Engines_Component_i
{
public:
GEOM_Superv_i(CORBA::ORB_ptr orb,