mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
Win32 compatibility
This commit is contained in:
parent
95e15e30c2
commit
76d199bd79
@ -23,8 +23,6 @@
|
||||
#ifndef _AdvancedEngine_DividedDiskDriver_HXX
|
||||
#define _AdvancedEngine_DividedDiskDriver_HXX
|
||||
|
||||
#include "AdvancedEngine.hxx"
|
||||
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
#include <TFunction_Driver.hxx>
|
||||
@ -37,7 +35,7 @@ class gp_Ax3;
|
||||
|
||||
DEFINE_STANDARD_HANDLE( AdvancedEngine_DividedDiskDriver, GEOM_BaseDriver );
|
||||
|
||||
class ADVANCEDENGINE_EXPORT AdvancedEngine_DividedDiskDriver : public GEOM_BaseDriver
|
||||
class AdvancedEngine_DividedDiskDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
// Methods PUBLIC
|
||||
|
@ -20,8 +20,6 @@
|
||||
#ifndef _AdvancedEngine_PipeTShapeDriver_HXX
|
||||
#define _AdvancedEngine_PipeTShapeDriver_HXX
|
||||
|
||||
#include "AdvancedEngine.hxx"
|
||||
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
#include "GEOMAlgo_State.hxx"
|
||||
|
||||
@ -32,7 +30,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( AdvancedEngine_PipeTShapeDriver, GEOM_BaseDriver );
|
||||
|
||||
class ADVANCEDENGINE_EXPORT AdvancedEngine_PipeTShapeDriver : public GEOM_BaseDriver
|
||||
class AdvancedEngine_PipeTShapeDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
// Methods PUBLIC
|
||||
|
@ -20,8 +20,6 @@
|
||||
#ifndef _AdvancedEngine_SmoothingSurfaceDriver_HXX
|
||||
#define _AdvancedEngine_SmoothingSurfaceDriver_HXX
|
||||
|
||||
#include "AdvancedEngine.hxx"
|
||||
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
#include <TFunction_Logbook.hxx>
|
||||
@ -30,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( AdvancedEngine_SmoothingSurfaceDriver, GEOM_BaseDriver );
|
||||
|
||||
class ADVANCEDENGINE_EXPORT AdvancedEngine_SmoothingSurfaceDriver : public GEOM_BaseDriver
|
||||
class AdvancedEngine_SmoothingSurfaceDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
// Methods PUBLIC
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define _BREPPLUGIN_ENGINE_HXX_
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined BREPPLUGINENGINE_EXPORTS || defined BREPPLUGINENGINE_EXPORTS
|
||||
#if defined BREPPluginEngine_EXPORTS
|
||||
#define BREPPLUGINENGINE_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define BREPPLUGINENGINE_EXPORT __declspec( dllimport )
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _BREPPlugin_ExportDriver_HXX
|
||||
#define _BREPPlugin_ExportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "BREPPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( BREPPlugin_ExportDriver, GEOM_BaseDriver );
|
||||
|
||||
class BREPPLUGINENGINE_EXPORT BREPPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
class BREPPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
BREPPlugin_ExportDriver();
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _BREPPlugin_ImportDriver_HXX
|
||||
#define _BREPPlugin_ImportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "BREPPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( BREPPlugin_ImportDriver, GEOM_BaseDriver );
|
||||
|
||||
class BREPPLUGINENGINE_EXPORT BREPPlugin_ImportDriver : public GEOM_BaseDriver
|
||||
class BREPPlugin_ImportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
BREPPlugin_ImportDriver();
|
||||
|
@ -50,8 +50,13 @@ ENDIF()
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
IF(WIN32)
|
||||
ADD_DEFINITIONS(-DNOGDI)
|
||||
ENDIF(WIN32)
|
||||
|
||||
IF(SALOME_BUILD_GUI)
|
||||
ADD_DEFINITIONS(
|
||||
${QT_DEFINITIONS}
|
||||
|
@ -37,7 +37,7 @@ public:
|
||||
Standard_EXPORT ~GEOMImpl_IBaseIEOperations();
|
||||
|
||||
protected:
|
||||
void MakeMaterialGroups(const Handle(GEOM_Object) &theObject,
|
||||
Standard_EXPORT void MakeMaterialGroups(const Handle(GEOM_Object) &theObject,
|
||||
const Handle(TColStd_HSequenceOfTransient) &theSeq);
|
||||
|
||||
Handle(GEOM_Object) MakeGroup
|
||||
|
@ -53,12 +53,12 @@ class GEOMImpl_IECallBack
|
||||
const TCollection_AsciiString& theFormatName,
|
||||
const TCollection_AsciiString& theParameterName );
|
||||
|
||||
static void Register( const TCollection_AsciiString& theFormatName, GEOMImpl_IECallBack* theCallBack );
|
||||
Standard_EXPORT static void Register( const TCollection_AsciiString& theFormatName, GEOMImpl_IECallBack* theCallBack );
|
||||
|
||||
static GEOMImpl_IECallBack* GetCallBack( const TCollection_AsciiString& theFormatName );
|
||||
|
||||
protected:
|
||||
GEOMImpl_Gen* GetEngine();
|
||||
Standard_EXPORT GEOMImpl_Gen* GetEngine();
|
||||
|
||||
private:
|
||||
static std::map<TCollection_AsciiString, GEOMImpl_IECallBack*> myCallBacks;
|
||||
|
@ -17,18 +17,18 @@
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
#include <libxml/parser.h>
|
||||
|
||||
#ifndef _GEOMUtils_XmlHandler_HXX_
|
||||
#define _GEOMUtils_XmlHandler_HXX_
|
||||
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
namespace GEOMUtils
|
||||
{
|
||||
//! Plugin action data
|
||||
struct ActionData
|
||||
struct Standard_EXPORT ActionData
|
||||
{
|
||||
std::string label; //!< unique ID
|
||||
std::string icon; //!< icon
|
||||
@ -39,7 +39,7 @@ namespace GEOMUtils
|
||||
};
|
||||
|
||||
//! Plugin data
|
||||
struct PluginData
|
||||
struct Standard_EXPORT PluginData
|
||||
{
|
||||
std::string name; //!< plugin name
|
||||
std::string serverLib; //!< engine library
|
||||
@ -50,7 +50,7 @@ namespace GEOMUtils
|
||||
//! Plugins information
|
||||
typedef std::list<PluginData> PluginInfo;
|
||||
|
||||
PluginInfo ReadPluginInfo();
|
||||
Standard_EXPORT PluginInfo ReadPluginInfo();
|
||||
}
|
||||
|
||||
#endif // _GEOMUtils_XmlHandler_HXX_
|
||||
|
@ -50,8 +50,13 @@ ENDIF()
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
IF(WIN32)
|
||||
ADD_DEFINITIONS(-DNOGDI)
|
||||
ENDIF(WIN32)
|
||||
|
||||
IF(SALOME_BUILD_GUI)
|
||||
ADD_DEFINITIONS(
|
||||
${QT_DEFINITIONS}
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define _GEOM_IGESPLUGIN_ENGINE_HXX_
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined IGESPLUGINENGINE_EXPORTS || defined IGESPLUGINENGINE_EXPORTS
|
||||
#if defined IGESPluginEngine_EXPORTS
|
||||
#define IGESPLUGINENGINE_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define IGESPLUGINENGINE_EXPORT __declspec( dllimport )
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _IGESPlugin_ExportDriver_HXX
|
||||
#define _IGESPlugin_ExportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "IGESPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( IGESPlugin_ExportDriver, GEOM_BaseDriver );
|
||||
|
||||
class IGESPLUGINENGINE_EXPORT IGESPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
class IGESPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
IGESPlugin_ExportDriver();
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _IGESPlugin_ImportDriver_HXX
|
||||
#define _IGESPlugin_ImportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "IGESPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( IGESPlugin_ImportDriver, GEOM_BaseDriver );
|
||||
|
||||
class IGESPLUGINENGINE_EXPORT IGESPlugin_ImportDriver : public GEOM_BaseDriver
|
||||
class IGESPlugin_ImportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
IGESPlugin_ImportDriver();
|
||||
|
@ -50,8 +50,13 @@ ENDIF()
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
|
||||
IF(WIN32)
|
||||
ADD_DEFINITIONS(-DNOGDI)
|
||||
ENDIF(WIN32)
|
||||
|
||||
IF(SALOME_BUILD_GUI)
|
||||
ADD_DEFINITIONS(
|
||||
${QT_DEFINITIONS}
|
||||
@ -61,6 +66,7 @@ ENDIF()
|
||||
# libraries to link to
|
||||
SET(_link_engine_LIBRARIES
|
||||
${CAS_TKSTEP}
|
||||
${CAS_TKSTEPBase}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${KERNEL_OpUtil}
|
||||
SalomeIDLGEOM
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _STEPPlugin_ExportDriver_HXX
|
||||
#define _STEPPlugin_ExportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "STEPPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( STEPPlugin_ExportDriver, GEOM_BaseDriver );
|
||||
|
||||
class STEPPLUGINENGINE_EXPORT STEPPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
class STEPPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
STEPPlugin_ExportDriver();
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _STEPPlugin_ImportDriver_HXX
|
||||
#define _STEPPlugin_ImportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "STEPPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( STEPPlugin_ImportDriver, GEOM_BaseDriver );
|
||||
|
||||
class STEPPLUGINENGINE_EXPORT STEPPlugin_ImportDriver : public GEOM_BaseDriver
|
||||
class STEPPlugin_ImportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
STEPPlugin_ImportDriver();
|
||||
|
@ -50,8 +50,13 @@ ENDIF()
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
IF(WIN32)
|
||||
ADD_DEFINITIONS(-DNOGDI)
|
||||
ENDIF(WIN32)
|
||||
|
||||
IF(SALOME_BUILD_GUI)
|
||||
ADD_DEFINITIONS(
|
||||
${QT_DEFINITIONS}
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _STLPlugin_ExportDriver_HXX
|
||||
#define _STLPlugin_ExportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "STLPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( STLPlugin_ExportDriver, GEOM_BaseDriver );
|
||||
|
||||
class STLPLUGINENGINE_EXPORT STLPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
class STLPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
STLPlugin_ExportDriver();
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _STLPlugin_ImportDriver_HXX
|
||||
#define _STLPlugin_ImportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "STLPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( STLPlugin_ImportDriver, GEOM_BaseDriver );
|
||||
|
||||
class STLPLUGINENGINE_EXPORT STLPlugin_ImportDriver : public GEOM_BaseDriver
|
||||
class STLPlugin_ImportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
STLPlugin_ImportDriver();
|
||||
|
@ -52,8 +52,13 @@ ENDIF()
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
|
||||
IF(WIN32)
|
||||
ADD_DEFINITIONS(-DNOGDI)
|
||||
ENDIF(WIN32)
|
||||
|
||||
IF(SALOME_BUILD_GUI)
|
||||
ADD_DEFINITIONS(
|
||||
${QT_DEFINITIONS}
|
||||
|
@ -20,9 +20,6 @@
|
||||
#ifndef _VTKPlugin_ExportDriver_HXX
|
||||
#define _VTKPlugin_ExportDriver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "VTKPlugin_Engine.hxx"
|
||||
|
||||
// GEOM includes
|
||||
#include "GEOM_BaseDriver.hxx"
|
||||
|
||||
@ -31,7 +28,7 @@
|
||||
|
||||
DEFINE_STANDARD_HANDLE( VTKPlugin_ExportDriver, GEOM_BaseDriver );
|
||||
|
||||
class VTKPLUGINENGINE_EXPORT VTKPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
class VTKPlugin_ExportDriver : public GEOM_BaseDriver
|
||||
{
|
||||
public:
|
||||
VTKPlugin_ExportDriver();
|
||||
|
@ -52,8 +52,13 @@ ENDIF()
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
IF(WIN32)
|
||||
ADD_DEFINITIONS(-DNOGDI)
|
||||
ENDIF(WIN32)
|
||||
|
||||
IF(SALOME_BUILD_GUI)
|
||||
ADD_DEFINITIONS(
|
||||
${QT_DEFINITIONS}
|
||||
|
@ -23,15 +23,12 @@
|
||||
#ifndef _XAOPlugin_Driver_HXX
|
||||
#define _XAOPlugin_Driver_HXX
|
||||
|
||||
// internal includes
|
||||
#include "XAOPlugin_Engine.hxx"
|
||||
|
||||
// OCCT includes
|
||||
#include <TFunction_Driver.hxx>
|
||||
|
||||
DEFINE_STANDARD_HANDLE(XAOPlugin_Driver, TFunction_Driver);
|
||||
|
||||
class XAOPLUGINENGINE_EXPORT XAOPlugin_Driver: public TFunction_Driver
|
||||
class XAOPlugin_Driver: public TFunction_Driver
|
||||
{
|
||||
public:
|
||||
XAOPlugin_Driver();
|
||||
|
Loading…
Reference in New Issue
Block a user