Start: include header with export macros

This commit is contained in:
wmayer
2022-03-24 20:51:04 +01:00
parent 6ca12d31b3
commit d0d60cdf01
3 changed files with 1 additions and 21 deletions

View File

@@ -25,15 +25,4 @@
#include <FCConfig.h>
// 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

View File

@@ -25,15 +25,6 @@
#include <FCConfig.h>
// 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 <iostream>

View File

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