From ada653e5915897823c24082dfae38cd995f021eb Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 18 Dec 2021 14:06:40 +0100 Subject: [PATCH] Add Global.h headers to modules --- src/Mod/Fem/FemGlobal.h | 47 +++++++++++++++++++ src/Mod/Import/ImportGlobal.h | 47 +++++++++++++++++++ src/Mod/Inspection/InspectionGlobal.h | 47 +++++++++++++++++++ src/Mod/MeshPart/MeshPartGlobal.h | 47 +++++++++++++++++++ src/Mod/Path/PathGlobal.h | 47 +++++++++++++++++++ .../ReverseEngineeringGlobal.h | 47 +++++++++++++++++++ src/Mod/Sketcher/SketcherGlobal.h | 47 +++++++++++++++++++ src/Mod/Spreadsheet/SpreadsheetGlobal.h | 47 +++++++++++++++++++ src/Mod/Start/StartGlobal.h | 47 +++++++++++++++++++ src/Mod/Surface/SurfaceGlobal.h | 47 +++++++++++++++++++ src/Mod/TechDraw/TechDrawGlobal.h | 47 +++++++++++++++++++ src/Mod/Web/WebGlobal.h | 47 +++++++++++++++++++ src/Tools/_TEMPLATE_/_TEMPLATE_Global.h | 47 +++++++++++++++++++ 13 files changed, 611 insertions(+) create mode 100644 src/Mod/Fem/FemGlobal.h create mode 100644 src/Mod/Import/ImportGlobal.h create mode 100644 src/Mod/Inspection/InspectionGlobal.h create mode 100644 src/Mod/MeshPart/MeshPartGlobal.h create mode 100644 src/Mod/Path/PathGlobal.h create mode 100644 src/Mod/ReverseEngineering/ReverseEngineeringGlobal.h create mode 100644 src/Mod/Sketcher/SketcherGlobal.h create mode 100644 src/Mod/Spreadsheet/SpreadsheetGlobal.h create mode 100644 src/Mod/Start/StartGlobal.h create mode 100644 src/Mod/Surface/SurfaceGlobal.h create mode 100644 src/Mod/TechDraw/TechDrawGlobal.h create mode 100644 src/Mod/Web/WebGlobal.h create mode 100644 src/Tools/_TEMPLATE_/_TEMPLATE_Global.h diff --git a/src/Mod/Fem/FemGlobal.h b/src/Mod/Fem/FemGlobal.h new file mode 100644 index 0000000000..b2703d8c38 --- /dev/null +++ b/src/Mod/Fem/FemGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef FEM_GLOBAL_H +#define FEM_GLOBAL_H + + +// Fem +#ifndef FemExport +#ifdef Fem_EXPORTS +# define FemExport FREECAD_DECL_EXPORT +#else +# define FemExport FREECAD_DECL_IMPORT +#endif +#endif + +// FemGui +#ifndef FemGuiExport +#ifdef FemGui_EXPORTS +# define FemGuiExport FREECAD_DECL_EXPORT +#else +# define FemGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //FEM_GLOBAL_H diff --git a/src/Mod/Import/ImportGlobal.h b/src/Mod/Import/ImportGlobal.h new file mode 100644 index 0000000000..65dd3e5bd1 --- /dev/null +++ b/src/Mod/Import/ImportGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef IMPORT_GLOBAL_H +#define IMPORT_GLOBAL_H + + +// Import +#ifndef ImportExport +#ifdef Import_EXPORTS +# define ImportExport FREECAD_DECL_EXPORT +#else +# define ImportExport FREECAD_DECL_IMPORT +#endif +#endif + +// ImportGui +#ifndef ImportGuiExport +#ifdef ImportGui_EXPORTS +# define ImportGuiExport FREECAD_DECL_EXPORT +#else +# define ImportGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //IMPORT_GLOBAL_H diff --git a/src/Mod/Inspection/InspectionGlobal.h b/src/Mod/Inspection/InspectionGlobal.h new file mode 100644 index 0000000000..99f594df32 --- /dev/null +++ b/src/Mod/Inspection/InspectionGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef INSPECTION_GLOBAL_H +#define INSPECTION_GLOBAL_H + + +// Inspection +#ifndef InspectionExport +#ifdef Inspection_EXPORTS +# define InspectionExport FREECAD_DECL_EXPORT +#else +# define InspectionExport FREECAD_DECL_IMPORT +#endif +#endif + +// InspectionGui +#ifndef InspectionGuiExport +#ifdef InspectionGui_EXPORTS +# define InspectionGuiExport FREECAD_DECL_EXPORT +#else +# define InspectionGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //INSPECTION_GLOBAL_H diff --git a/src/Mod/MeshPart/MeshPartGlobal.h b/src/Mod/MeshPart/MeshPartGlobal.h new file mode 100644 index 0000000000..38af3fd22a --- /dev/null +++ b/src/Mod/MeshPart/MeshPartGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef MESHPART_GLOBAL_H +#define MESHPART_GLOBAL_H + + +// MeshPart +#ifndef MeshPartExport +#ifdef MeshPart_EXPORTS +# define MeshPartExport FREECAD_DECL_EXPORT +#else +# define MeshPartExport FREECAD_DECL_IMPORT +#endif +#endif + +// MeshPartGui +#ifndef MeshPartGuiExport +#ifdef MeshPartGui_EXPORTS +# define MeshPartGuiExport FREECAD_DECL_EXPORT +#else +# define MeshPartGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //MESHPART_GLOBAL_H diff --git a/src/Mod/Path/PathGlobal.h b/src/Mod/Path/PathGlobal.h new file mode 100644 index 0000000000..ce2a5f774f --- /dev/null +++ b/src/Mod/Path/PathGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef PATH_GLOBAL_H +#define PATH_GLOBAL_H + + +// Path +#ifndef PathExport +#ifdef Path_EXPORTS +# define PathExport FREECAD_DECL_EXPORT +#else +# define PathExport FREECAD_DECL_IMPORT +#endif +#endif + +// PathGui +#ifndef PathGuiExport +#ifdef PathGui_EXPORTS +# define PathGuiExport FREECAD_DECL_EXPORT +#else +# define PathGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //PATH_GLOBAL_H diff --git a/src/Mod/ReverseEngineering/ReverseEngineeringGlobal.h b/src/Mod/ReverseEngineering/ReverseEngineeringGlobal.h new file mode 100644 index 0000000000..329692bba2 --- /dev/null +++ b/src/Mod/ReverseEngineering/ReverseEngineeringGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef REEN_GLOBAL_H +#define REEN_GLOBAL_H + + +// Reen +#ifndef ReenExport +#ifdef ReverseEngineering_EXPORTS +# define ReenExport FREECAD_DECL_EXPORT +#else +# define ReenExport FREECAD_DECL_IMPORT +#endif +#endif + +// ReenGui +#ifndef ReenGuiExport +#ifdef ReverseEngineeringGui_EXPORTS +# define ReenGuiExport FREECAD_DECL_EXPORT +#else +# define ReenGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //REEN_GLOBAL_H diff --git a/src/Mod/Sketcher/SketcherGlobal.h b/src/Mod/Sketcher/SketcherGlobal.h new file mode 100644 index 0000000000..31f73d0eaf --- /dev/null +++ b/src/Mod/Sketcher/SketcherGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * Copyright (c) 2019 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 * + * * + ***************************************************************************/ + +#include + +#ifndef SKETCHER_GLOBAL_H +#define SKETCHER_GLOBAL_H + + +// Sketcher +#ifndef SketcherExport +#ifdef Sketcher_EXPORTS +# define SketcherExport FREECAD_DECL_EXPORT +#else +# define SketcherExport FREECAD_DECL_IMPORT +#endif +#endif + +// SketcherGui +#ifndef SketcherGuiExport +#ifdef SketcherGui_EXPORTS +# define SketcherGuiExport FREECAD_DECL_EXPORT +#else +# define SketcherGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //SKETCHER_GLOBAL_H diff --git a/src/Mod/Spreadsheet/SpreadsheetGlobal.h b/src/Mod/Spreadsheet/SpreadsheetGlobal.h new file mode 100644 index 0000000000..66c47f062c --- /dev/null +++ b/src/Mod/Spreadsheet/SpreadsheetGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef SPREADSHEET_GLOBAL_H +#define SPREADSHEET_GLOBAL_H + + +// Spreadsheet +#ifndef SpreadsheetExport +#ifdef Spreadsheet_EXPORTS +# define SpreadsheetExport FREECAD_DECL_EXPORT +#else +# define SpreadsheetExport FREECAD_DECL_IMPORT +#endif +#endif + +// SpreadsheetGui +#ifndef SpreadsheetGuiExport +#ifdef SpreadsheetGui_EXPORTS +# define SpreadsheetGuiExport FREECAD_DECL_EXPORT +#else +# define SpreadsheetGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //SPREADSHEET_GLOBAL_H diff --git a/src/Mod/Start/StartGlobal.h b/src/Mod/Start/StartGlobal.h new file mode 100644 index 0000000000..16c5a67cb7 --- /dev/null +++ b/src/Mod/Start/StartGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef START_GLOBAL_H +#define START_GLOBAL_H + + +// Start +#ifndef StartExport +#ifdef Start_EXPORTS +# define StartExport FREECAD_DECL_EXPORT +#else +# define StartExport FREECAD_DECL_IMPORT +#endif +#endif + +// StartGui +#ifndef StartGuiExport +#ifdef StartGui_EXPORTS +# define StartGuiExport FREECAD_DECL_EXPORT +#else +# define StartGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //START_GLOBAL_H diff --git a/src/Mod/Surface/SurfaceGlobal.h b/src/Mod/Surface/SurfaceGlobal.h new file mode 100644 index 0000000000..5b8ecca779 --- /dev/null +++ b/src/Mod/Surface/SurfaceGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef SURFACE_GLOBAL_H +#define SURFACE_GLOBAL_H + + +// Surface +#ifndef SurfaceExport +#ifdef Surface_EXPORTS +# define SurfaceExport FREECAD_DECL_EXPORT +#else +# define SurfaceExport FREECAD_DECL_IMPORT +#endif +#endif + +// SurfaceGui +#ifndef SurfaceGuiExport +#ifdef SurfaceGui_EXPORTS +# define SurfaceGuiExport FREECAD_DECL_EXPORT +#else +# define SurfaceGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //SURFACE_GLOBAL_H diff --git a/src/Mod/TechDraw/TechDrawGlobal.h b/src/Mod/TechDraw/TechDrawGlobal.h new file mode 100644 index 0000000000..e356ceb0e6 --- /dev/null +++ b/src/Mod/TechDraw/TechDrawGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef TECHDRAW_GLOBAL_H +#define TECHDRAW_GLOBAL_H + + +// TechDraw +#ifndef TechDrawExport +#ifdef TechDraw_EXPORTS +# define TechDrawExport FREECAD_DECL_EXPORT +#else +# define TechDrawExport FREECAD_DECL_IMPORT +#endif +#endif + +// TechDrawGui +#ifndef TechDrawGuiExport +#ifdef TechDrawGui_EXPORTS +# define TechDrawGuiExport FREECAD_DECL_EXPORT +#else +# define TechDrawGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //TECHDRAW_GLOBAL_H diff --git a/src/Mod/Web/WebGlobal.h b/src/Mod/Web/WebGlobal.h new file mode 100644 index 0000000000..ef95e0577e --- /dev/null +++ b/src/Mod/Web/WebGlobal.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef WEB_GLOBAL_H +#define WEB_GLOBAL_H + + +// Web +#ifndef WebExport +#ifdef Web_EXPORTS +# define WebExport FREECAD_DECL_EXPORT +#else +# define WebExport FREECAD_DECL_IMPORT +#endif +#endif + +// WebGui +#ifndef WebGuiExport +#ifdef WebGui_EXPORTS +# define WebGuiExport FREECAD_DECL_EXPORT +#else +# define WebGuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //WEB_GLOBAL_H diff --git a/src/Tools/_TEMPLATE_/_TEMPLATE_Global.h b/src/Tools/_TEMPLATE_/_TEMPLATE_Global.h new file mode 100644 index 0000000000..15f68c30ae --- /dev/null +++ b/src/Tools/_TEMPLATE_/_TEMPLATE_Global.h @@ -0,0 +1,47 @@ +/*************************************************************************** + * 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 * + * * + ***************************************************************************/ + +#include + +#ifndef _TEMPLATE__GLOBAL_H +#define _TEMPLATE__GLOBAL_H + + +// _TEMPLATE_ +#ifndef _TEMPLATE_Export +#ifdef _TEMPLATE__EXPORTS +# define _TEMPLATE_Export FREECAD_DECL_EXPORT +#else +# define _TEMPLATE_Export FREECAD_DECL_IMPORT +#endif +#endif + +// _TEMPLATE_Gui +#ifndef _TEMPLATE_GuiExport +#ifdef _TEMPLATE_Gui_EXPORTS +# define _TEMPLATE_GuiExport FREECAD_DECL_EXPORT +#else +# define _TEMPLATE_GuiExport FREECAD_DECL_IMPORT +#endif +#endif + +#endif //_TEMPLATE__GLOBAL_H