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

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