SET(${PROJECT_NAME_UC}_PATCH_VERSION 0)
SET(${PROJECT_NAME_UC}_VERSION
${${PROJECT_NAME_UC}_MAJOR_VERSION}.${${PROJECT_NAME_UC}_MINOR_VERSION}.${${PROJECT_NAME_UC}_PATCH_VERSION})
-SET(${PROJECT_NAME_UC}_VERSION_DEV 0)
+SET(${PROJECT_NAME_UC}_VERSION_DEV 1)
# Common CMake macros
# ===================
#ifndef _MED_HXX_
#define _MED_HXX_
-#ifdef WIN32
-# if defined MEDENGINE_EXPORTS || defined MEDEngine_EXPORTS
-# define MEDENGINE_EXPORT __declspec( dllexport )
-# else
-# define MEDENGINE_EXPORT __declspec( dllimport )
-# endif
-#else
-# define MEDENGINE_EXPORT
-#endif
-
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(MED_Gen)
#include CORBA_SERVER_HEADER(MEDDataManager)
#include <map>
#include <string>
-class MEDENGINE_EXPORT MED :
+#include "MEDCALC.hxx"
+
+class MEDCALC_EXPORT MED :
public POA_MED_ORB::MED_Gen,
public Engines_Component_i
{
};
extern "C"
-MEDENGINE_EXPORT
+MEDCALC_EXPORT
PortableServer::ObjectId* MEDEngine_factory( CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa,
PortableServer::ObjectId* contId,
#define __MEDCALC_HXX__
#ifdef WIN32
-# if defined MEDFactoryEngine_EXPORTS || defined MEDEngine_EXPORTS
+# if defined MEDFactoryEngine_EXPORTS || defined MEDEngine_EXPORTS || defined MEDEngineCommon_EXPORTS
# define MEDCALC_EXPORT __declspec( dllexport )
# else
# define MEDCALC_EXPORT __declspec( dllimport )
// Other public functions (non available via CORBA)
// ===========================================================
//
- static MEDCalculator_i * getInstance();
+ MEDCALC_EXPORT static MEDCalculator_i * getInstance();
private:
MEDCalculator_i();
public SALOME::GenericObj_i
{
public:
- static MEDCommandsHistoryManager_i* getInstance();
+ MEDCALC_EXPORT static MEDCommandsHistoryManager_i* getInstance();
MEDCALC_EXPORT void addCommand(const char* command);
MEDCALC_EXPORT MEDCALC::CommandsList* getCommandsHistory();
{
public:
- static MEDPresentationManager_i* getInstance();
+ MEDCALC_EXPORT static MEDPresentationManager_i* getInstance();
MEDCALC_EXPORT MEDPresentation::TypeID makeMeshView(const MEDCALC::MeshViewParameters&, const MEDCALC::ViewModeType);
MEDCALC_EXPORT MEDPresentation::TypeID makeScalarMap(const MEDCALC::ScalarMapParameters&, const MEDCALC::ViewModeType);