Part: include header with export macros
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#ifndef PART_BREPOFFSETAPI_MAKEOFFSETFIX_H
|
||||
#define PART_BREPOFFSETAPI_MAKEOFFSETFIX_H
|
||||
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <BRepOffsetAPI_MakeOffset.hxx>
|
||||
#include <list>
|
||||
#include <map>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#ifndef PART_CROSSSECTION_H
|
||||
#define PART_CROSSSECTION_H
|
||||
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <list>
|
||||
#include <TopTools_IndexedMapOfShape.hxx>
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <vector>
|
||||
#include <gp_Dir.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <TopoDS_Wire.hxx>
|
||||
|
||||
#include <memory>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#define PART_GEOMETRYEXTENSION_H
|
||||
|
||||
#include <Base/Persistence.h>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#ifndef PART_IMPORT_IGES_H
|
||||
#define PART_IMPORT_IGES_H
|
||||
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
namespace App {
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#define _ImportStep_h_
|
||||
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <App/ComplexGeoData.h>
|
||||
|
||||
namespace App {
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
# include <Standard_TypeMismatch.hxx>
|
||||
# include <Standard_Underflow.hxx>
|
||||
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
#include <Base/Interpreter.h>
|
||||
|
||||
@@ -26,16 +26,7 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
|
||||
// Exporting of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define PartExport __declspec(dllexport)
|
||||
#else // for Linux
|
||||
# define PartExport
|
||||
#endif
|
||||
|
||||
//needed to make autogenerated Py interface source code to compile
|
||||
#define AttacherExport PartExport
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
// here get the warnings of too long specifiers disabled (needed for VC6)
|
||||
#ifdef _MSC_VER
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#ifndef PART_PRISM_EXTENSION_H
|
||||
#define PART_PRISM_EXTENSION_H
|
||||
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <App/DocumentObjectExtension.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
#include <TopoDS_Face.hxx>
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <Message_ProgressIndicator.hxx>
|
||||
#include <Standard_Version.hxx>
|
||||
#include <Base/Sequencer.h>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <memory>
|
||||
|
||||
namespace Part {
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#ifndef PART_EDGECLUSTER_H
|
||||
#define PART_EDGECLUSTER_H
|
||||
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <vector>
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <TopTools_MapOfShape.hxx>
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
#include <BRepBuilderAPI_MakeShape.hxx>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
|
||||
namespace ModelRefine
|
||||
|
||||
@@ -26,20 +26,7 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// Importing of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define PartExport __declspec(dllimport)
|
||||
# define PartGuiExport __declspec(dllexport)
|
||||
#else // for Linux
|
||||
# define PartExport
|
||||
# define PartGuiExport
|
||||
#endif
|
||||
|
||||
#ifdef FC_OS_WIN32
|
||||
# ifndef NOMINMAX
|
||||
# define NOMINMAX
|
||||
# endif
|
||||
#endif
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
// here get the warnings of too long specifiers disabled (needed for VC6)
|
||||
#ifdef _MSC_VER
|
||||
@@ -50,6 +37,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef FC_OS_WIN32
|
||||
# ifndef NOMINMAX
|
||||
# define NOMINMAX
|
||||
# endif
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <Gui/SoFCSelectionContext.h>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
class SoCoordinateElement;
|
||||
class SoGLCoordinateElement;
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <Gui/SoFCSelectionContext.h>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
class SoGLCoordinateElement;
|
||||
class SoTextureCoordinateBundle;
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <Gui/SoFCSelectionContext.h>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
class SoCoordinateElement;
|
||||
class SoGLCoordinateElement;
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <Inventor/nodes/SoSubNode.h>
|
||||
#include <Inventor/nodes/SoShape.h>
|
||||
#include <Inventor/elements/SoReplacedElement.h>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
namespace PartGui {
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <App/Extension.h>
|
||||
#include <Gui/ViewProviderExtensionPython.h>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
namespace PartGui
|
||||
{
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#define PART_WORKBENCH_H
|
||||
|
||||
#include <Gui/Workbench.h>
|
||||
#include <Mod/Part/PartGlobal.h>
|
||||
|
||||
namespace PartGui {
|
||||
|
||||
|
||||
@@ -29,12 +29,16 @@
|
||||
// Part
|
||||
#ifndef PartExport
|
||||
#ifdef Part_EXPORTS
|
||||
# define PartExport FREECAD_DECL_EXPORT
|
||||
# define PartExport FREECAD_DECL_EXPORT
|
||||
#else
|
||||
# define PartExport FREECAD_DECL_IMPORT
|
||||
# define PartExport FREECAD_DECL_IMPORT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef AttacherExport
|
||||
#define AttacherExport PartExport
|
||||
#endif
|
||||
|
||||
// PartGui
|
||||
#ifndef PartGuiExport
|
||||
#ifdef PartGui_EXPORTS
|
||||
|
||||
Reference in New Issue
Block a user