Mesh: include header with export macros
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#ifndef MESH_DECIMATION_H
|
||||
#define MESH_DECIMATION_H
|
||||
|
||||
#include <Mod/Mesh/MeshGlobal.h>
|
||||
|
||||
namespace MeshCore
|
||||
{
|
||||
|
||||
@@ -26,15 +26,6 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
|
||||
// Exporting of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define MeshExport __declspec(dllexport)
|
||||
#else // for Linux
|
||||
# define MeshExport
|
||||
#endif
|
||||
|
||||
|
||||
// here get the warnings of too long specifiers disabled (needed for VC6)
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning( disable : 4251 )
|
||||
|
||||
@@ -26,15 +26,6 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// Importing of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define MeshExport __declspec(dllimport)
|
||||
# define MeshGuiExport __declspec(dllexport)
|
||||
#else // for Linux
|
||||
# define MeshExport
|
||||
# define MeshGuiExport
|
||||
#endif
|
||||
|
||||
// here get the warnings of too long specifiers disabled (needed for VC6)
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning( disable : 4005 )
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <Base/Vector3D.h>
|
||||
#include <Mod/Mesh/App/Mesh.h>
|
||||
#include <Mod/MeshPart/MeshPartGlobal.h>
|
||||
|
||||
namespace MeshCore
|
||||
{
|
||||
|
||||
@@ -26,17 +26,6 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// Exporting of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define MeshPartExport __declspec(dllexport)
|
||||
# define PartExport __declspec(dllimport)
|
||||
# define MeshExport __declspec(dllimport)
|
||||
#else // for Linux
|
||||
# define MeshPartExport
|
||||
# define PartExport
|
||||
# define MeshExport
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning(disable : 4244)
|
||||
# pragma warning(disable : 4275)
|
||||
|
||||
@@ -26,23 +26,6 @@
|
||||
|
||||
#include <FCConfig.h>
|
||||
|
||||
// Importing of App classes
|
||||
#ifdef FC_OS_WIN32
|
||||
# define MeshExport __declspec(dllimport)
|
||||
# define PartExport __declspec(dllimport)
|
||||
# define MeshGuiExport __declspec(dllimport)
|
||||
# define PartGuiExport __declspec(dllimport)
|
||||
# define MeshPartAppExport __declspec(dllimport)
|
||||
# define MeshPartGuiExport __declspec(dllexport)
|
||||
#else // for Linux
|
||||
# define MeshExport
|
||||
# define PartExport
|
||||
# define MeshGuiExport
|
||||
# define PartGuiExport
|
||||
# define MeshPartAppExport
|
||||
# define MeshPartGuiExport
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning(disable : 4005)
|
||||
# pragma warning(disable : 4290)
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace MeshPartGui {
|
||||
/**
|
||||
* @author Werner Mayer
|
||||
*/
|
||||
class MeshPartGuiExport Workbench : public Gui::StdWorkbench
|
||||
class Workbench : public Gui::StdWorkbench
|
||||
{
|
||||
TYPESYSTEM_HEADER();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user