PD: include header with export macros
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#define PARTDESIGN_Body_H
|
||||
|
||||
#include <Mod/Part/App/BodyBase.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
|
||||
namespace App {
|
||||
class Origin;
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#define PARTDESIGN_DATUMCS_H
|
||||
|
||||
#include <Mod/Part/App/DatumFeature.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
|
||||
namespace PartDesign
|
||||
{
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#define PARTDESIGN_DATUMLINE_H
|
||||
|
||||
#include <Mod/Part/App/DatumFeature.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
|
||||
namespace PartDesign
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#define PARTDESIGN_DATUMPLANE_H
|
||||
|
||||
#include <Mod/Part/App/DatumFeature.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
|
||||
namespace PartDesign
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#define PARTDESIGN_DATUMPOINT_H
|
||||
|
||||
#include <Mod/Part/App/DatumFeature.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
|
||||
namespace PartDesign
|
||||
{
|
||||
|
||||
@@ -26,17 +26,6 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// Exporting of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define PartDesignExport __declspec(dllexport)
|
||||
# define PartExport __declspec(dllimport)
|
||||
# define MeshExport __declspec(dllimport)
|
||||
#else // for Linux
|
||||
# define PartDesignExport
|
||||
# define PartExport
|
||||
# define MeshExport
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// disable warning triggered by use of Part::FaceMaker
|
||||
// see forum thread "Warning C4275 non-dll class used as base for dll class"
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <App/DocumentObserver.h>
|
||||
#include <App/FeaturePython.h>
|
||||
#include <Mod/Part/App/DatumFeature.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
|
||||
namespace PartDesign
|
||||
{
|
||||
|
||||
@@ -26,23 +26,6 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// Importing of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define PartDesignExport __declspec(dllimport)
|
||||
# define PartDesignGuiExport __declspec(dllexport)
|
||||
# define PartExport __declspec(dllimport)
|
||||
# define PartGuiExport __declspec(dllimport)
|
||||
# define SketcherExport __declspec(dllimport)
|
||||
# define SketcherGuiExport __declspec(dllimport)
|
||||
#else // for Linux
|
||||
# define PartDesignExport
|
||||
# define PartDesignGuiExport
|
||||
# define PartExport
|
||||
# define PartGuiExport
|
||||
# define SketcherExport
|
||||
# define SketcherGuiExport
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning(disable : 4005)
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <Gui/ViewProviderPythonFeature.h>
|
||||
|
||||
#include <Mod/Part/Gui/ViewProviderAttachExtension.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
|
||||
namespace PartDesignGui {
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#define PARTGUI_ViewProviderBody_H
|
||||
|
||||
#include <Mod/Part/Gui/ViewProvider.h>
|
||||
#include <Mod/PartDesign/PartDesignGlobal.h>
|
||||
#include <Gui/ViewProviderOriginGroupExtension.h>
|
||||
#include <QCoreApplication>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user