Import: include header with export macros

This commit is contained in:
wmayer
2022-03-24 20:44:34 +01:00
parent c8f049f6db
commit 1048176fc3
6 changed files with 4 additions and 26 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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

View File

@@ -24,7 +24,7 @@
#ifndef IMPORT_STEPSHAPE_H
#define IMPORT_STEPSHAPE_H
#include <Mod/Import/ImportGlobal.h>
namespace Import
{

View File

@@ -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

View File

@@ -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