From d0d60cdf019a3d934434b0b9bf5328d85d5a4739 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 24 Mar 2022 20:51:04 +0100 Subject: [PATCH] Start: include header with export macros --- src/Mod/Start/App/PreCompiled.h | 11 ----------- src/Mod/Start/Gui/PreCompiled.h | 9 --------- src/Mod/Start/Gui/Workbench.h | 2 +- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/src/Mod/Start/App/PreCompiled.h b/src/Mod/Start/App/PreCompiled.h index 1646b56310..ef3103197a 100644 --- a/src/Mod/Start/App/PreCompiled.h +++ b/src/Mod/Start/App/PreCompiled.h @@ -25,15 +25,4 @@ #include -// Exporting of App classes -#ifdef FC_OS_WIN32 -# define AppStartExport __declspec(dllexport) -# define PartExport __declspec(dllimport) -# define MeshExport __declspec(dllimport) -#else // for Linux -# define AppStartExport -# define PartExport -# define MeshExport -#endif - #endif diff --git a/src/Mod/Start/Gui/PreCompiled.h b/src/Mod/Start/Gui/PreCompiled.h index 65d231db2f..c529adc283 100644 --- a/src/Mod/Start/Gui/PreCompiled.h +++ b/src/Mod/Start/Gui/PreCompiled.h @@ -25,15 +25,6 @@ #include -// Importing of App classes -#ifdef FC_OS_WIN32 -# define StartAppExport __declspec(dllimport) -# define StartGuiExport __declspec(dllexport) -#else // for Linux -# define StartAppExport -# define StartGuiExport -#endif - #ifdef _PreComp_ // standard #include diff --git a/src/Mod/Start/Gui/Workbench.h b/src/Mod/Start/Gui/Workbench.h index acd579cfe1..074036e7f1 100644 --- a/src/Mod/Start/Gui/Workbench.h +++ b/src/Mod/Start/Gui/Workbench.h @@ -31,7 +31,7 @@ namespace StartGui { /** * @author Werner Mayer */ -class StartGuiExport Workbench : public Gui::StdWorkbench +class Workbench : public Gui::StdWorkbench { TYPESYSTEM_HEADER();