#include "SALOMESDS_RefCountServ.hxx"
#include "SALOMESDS_AutoRefCountPtr.hxx"
#include "SALOMESDS_BasicDataServer.hxx"
+#include "SALOMESDS_Defines.hxx"
#include <Python.h>
namespace SALOMESDS
{
- class DataScopeServer : public virtual POA_SALOME::DataScopeServer
+ class SALOMESDS_EXPORT DataScopeServer : public virtual POA_SALOME::DataScopeServer
{
public:
DataScopeServer(CORBA::ORB_ptr orb, const std::string& scopeName);
#include "SALOMESDS_AutoRefCountPtr.hxx"
#include "SALOMESDS_DataScopeServer.hxx"
+#include "SALOMESDS_Defines.hxx"
+
#include <string>
namespace SALOMESDS
{
class DataScopeServer;
- class DataServerManager : public virtual POA_SALOME::DataServerManager
+ class SALOMESDS_EXPORT DataServerManager : public virtual POA_SALOME::DataServerManager
{
public:
DataServerManager(int argc, char *argv[], CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
--- /dev/null
+// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// 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, or (at your option) any later version.
+//
+// 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
+//
+
+#ifndef _SALOMESDS_Defines_HXX_
+#define _SALOMESDS_Defines_HXX_
+
+#ifdef WIN32
+# if defined SALOMESDS_EXPORTS || defined SalomeSDS_EXPORTS
+# define SALOMESDS_EXPORT __declspec( dllexport )
+# else
+# define SALOMESDS_EXPORT __declspec( dllimport )
+# endif
+#else
+# define SALOMESDS_EXPORT
+#endif
+
+#endif
#include "SALOMEconfig.h"
#include CORBA_SERVER_HEADER(SALOME_Exception)
+#include "SALOMESDS_Defines.hxx"
+
#include <string>
namespace SALOMESDS
{
- class Exception : public SALOME::SALOME_Exception
+ class SALOMESDS_EXPORT Exception : public SALOME::SALOME_Exception
{
public:
Exception(const std::string& reason);