mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Windows compatibility.
This commit is contained in:
parent
e2ed82ab76
commit
d1bb1f5d44
@ -146,7 +146,8 @@ bool SPADDERPluginTester_i::testsmesh(CORBA::Long studyId)
|
||||
//
|
||||
extern "C"
|
||||
{
|
||||
PortableServer::ObjectId * SPADDERPluginTesterEngine_factory( CORBA::ORB_ptr orb,
|
||||
SPADDERPLUGINTESTERENGINE_EXPORT PortableServer::ObjectId *
|
||||
SPADDERPluginTesterEngine_factory( CORBA::ORB_ptr orb,
|
||||
PortableServer::POA_ptr poa,
|
||||
PortableServer::ObjectId * contId,
|
||||
const char *instanceName,
|
||||
|
@ -22,13 +22,23 @@
|
||||
#ifndef _SPADDER_PLUGINTESTER_HXX_
|
||||
#define _SPADDER_PLUGINTESTER_HXX_
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined SPADDERPLUGINTESTERENGINE_EXPORTS || defined SPADDERPluginTesterEngine_EXPORTS
|
||||
#define SPADDERPLUGINTESTERENGINE_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define SPADDERPLUGINTESTERENGINE_EXPORT __declspec( dllimport )
|
||||
#endif
|
||||
#else
|
||||
#define SPADDERPLUGINTESTERENGINE_EXPORT
|
||||
#endif
|
||||
|
||||
// include the stubs generating from SPADDERPluginTest.idl
|
||||
#include <SALOMEconfig.h>
|
||||
#include CORBA_SERVER_HEADER(SPADDERPluginTest)
|
||||
#include <SALOME_Component.hh>
|
||||
#include "SALOME_Component_i.hxx"
|
||||
|
||||
class SPADDERPluginTester_i:
|
||||
class SPADDERPLUGINTESTERENGINE_EXPORT SPADDERPluginTester_i:
|
||||
public virtual POA_SPADDERPluginTest::SPADDERPluginTester,
|
||||
public Engines_Component_i
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user