diff --git a/src/Mod/PartDesign/App/Feature.h b/src/Mod/PartDesign/App/Feature.h index 99c763d325..cb430ee80d 100644 --- a/src/Mod/PartDesign/App/Feature.h +++ b/src/Mod/PartDesign/App/Feature.h @@ -26,6 +26,7 @@ #include #include +#include class gp_Pnt; class gp_Pln; diff --git a/src/Mod/PartDesign/PartDesignGlobal.h b/src/Mod/PartDesign/PartDesignGlobal.h new file mode 100644 index 0000000000..521ff7f231 --- /dev/null +++ b/src/Mod/PartDesign/PartDesignGlobal.h @@ -0,0 +1,48 @@ +/*************************************************************************** + * Copyright (c) 2021 Werner Mayer * + * * + * This file is part of the FreeCAD CAx development system. * + * * + * This library is free software; you can redistribute it and/or * + * modify it under the terms of the GNU Library General Public * + * License as published by the Free Software Foundation; either * + * version 2 of the License, or (at your option) any later version. * + * * + * This library is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU Library General Public License for more details. * + * * + * You should have received a copy of the GNU Library General Public * + * License along with this library; see the file COPYING.LIB. If not, * + * write to the Free Software Foundation, Inc., 59 Temple Place, * + * Suite 330, Boston, MA 02111-1307, USA * + * * + ***************************************************************************/ + + +#ifndef PARTDESIGN_GLOBAL_H +#define PARTDESIGN_GLOBAL_H + +#include + + +// PartDesign +#ifndef PartDesignExport +#ifdef PartDesign_EXPORTS +# define PartDesignExport FREECAD_DECL_EXPORT +#else +# define PartDesignExport FREECAD_DECL_IMPORT +#endif +#endif + +// PartDesignGui +#ifndef PartDesignGuiExport +#ifdef PartDesignGui_EXPORTS +# define PartDesignGuiExport FREECAD_DECL_EXPORT +#else +# define PartDesignGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //PARTDESIGN_GLOBAL_H