38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/***************************************************************************
|
|
* Copyright (c) Imetric 4D Imaging Sarl *
|
|
* *
|
|
* Author: Werner Mayer *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
// this file contains the export macros for the App and Gui module
|
|
// for Qt Designer, see e.g.
|
|
// https://forum.freecadweb.org/viewtopic.php?p=558050#p558050
|
|
// why this is necessary
|
|
|
|
#include <FCGlobal.h>
|
|
|
|
#ifndef IMAGE_GLOBAL_H
|
|
#define IMAGE_GLOBAL_H
|
|
|
|
|
|
// Image
|
|
#ifndef ImageExport
|
|
#ifdef Image_EXPORTS
|
|
# define ImageExport FREECAD_DECL_EXPORT
|
|
#else
|
|
# define ImageExport FREECAD_DECL_IMPORT
|
|
#endif
|
|
#endif
|
|
|
|
// ImageGui
|
|
#ifndef ImageGuiExport
|
|
#ifdef ImageGui_EXPORTS
|
|
# define ImageGuiExport FREECAD_DECL_EXPORT
|
|
#else
|
|
# define ImageGuiExport FREECAD_DECL_IMPORT
|
|
#endif
|
|
#endif
|
|
|
|
#endif //IMAGE_GLOBAL_H
|