Mesh: include header with export macros

This commit is contained in:
wmayer
2022-03-24 20:42:15 +01:00
parent 10e65e9141
commit bb8dda44f5
7 changed files with 3 additions and 47 deletions

View File

@@ -24,6 +24,7 @@
#ifndef MESH_DECIMATION_H
#define MESH_DECIMATION_H
#include <Mod/Mesh/MeshGlobal.h>
namespace MeshCore
{

View File

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

View File

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

View File

@@ -33,6 +33,7 @@
#include <Base/Vector3D.h>
#include <Mod/Mesh/App/Mesh.h>
#include <Mod/MeshPart/MeshPartGlobal.h>
namespace MeshCore
{

View File

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

View File

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

View File

@@ -31,7 +31,7 @@ namespace MeshPartGui {
/**
* @author Werner Mayer
*/
class MeshPartGuiExport Workbench : public Gui::StdWorkbench
class Workbench : public Gui::StdWorkbench
{
TYPESYSTEM_HEADER();