Import: include header with export macros
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <App/Material.h>
|
||||
#include <App/Part.h>
|
||||
#include <Mod/Part/App/FeatureCompound.h>
|
||||
#include <Mod/Import/ImportGlobal.h>
|
||||
|
||||
|
||||
class TDF_Label;
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <App/Material.h>
|
||||
#include <App/Part.h>
|
||||
#include <Mod/Part/App/FeatureCompound.h>
|
||||
|
||||
#include <Mod/Import/ImportGlobal.h>
|
||||
|
||||
class TDF_Label;
|
||||
class TopLoc_Location;
|
||||
|
||||
@@ -26,17 +26,6 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// Importing of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define ImportExport __declspec(dllexport)
|
||||
# define PartExport __declspec(dllimport)
|
||||
# define AppPartExport __declspec(dllimport)
|
||||
#else // for Linux
|
||||
# define ImportExport
|
||||
# define PartExport
|
||||
# define AppPartExport
|
||||
#endif
|
||||
|
||||
|
||||
/// here get the warnings of to long specifieres disabled (needet for VC6)
|
||||
#ifdef _MSC_VER
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#ifndef IMPORT_STEPSHAPE_H
|
||||
#define IMPORT_STEPSHAPE_H
|
||||
|
||||
|
||||
#include <Mod/Import/ImportGlobal.h>
|
||||
|
||||
namespace Import
|
||||
{
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <cmath>
|
||||
|
||||
#include <Base/Vector3D.h>
|
||||
#include <Mod/Import/ImportGlobal.h>
|
||||
|
||||
//Following is required to be defined on Ubuntu with OCC 6.3.1
|
||||
#ifndef HAVE_IOSTREAM
|
||||
|
||||
@@ -26,19 +26,6 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// Importing of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define ImportGuiExport __declspec(dllexport)
|
||||
# define ImportExport __declspec(dllimport)
|
||||
# define PartExport __declspec(dllimport)
|
||||
# define PartGuiExport __declspec(dllimport)
|
||||
#else // for Linux
|
||||
# define ImportGuiExport
|
||||
# define ImportExport
|
||||
# define PartExport
|
||||
# define PartGuiExport
|
||||
#endif
|
||||
|
||||
|
||||
// here get the warnings of too long specifiers disabled (needed for VC6)
|
||||
#ifdef _MSC_VER
|
||||
|
||||
Reference in New Issue
Block a user