mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Windows compatibility
This commit is contained in:
parent
0a9a0010a0
commit
9282e3d0d6
@ -104,6 +104,7 @@ SET(MeasureGUI_HEADERS
|
||||
MeasureGUI_DimensionCreateTool.h
|
||||
MeasureGUI_DimensionInteractor.h
|
||||
MeasureGUI_DimensionFilter.h
|
||||
MeasureGUI_definitions.h
|
||||
)
|
||||
|
||||
# header files / to be processed by moc
|
||||
|
@ -27,6 +27,7 @@
|
||||
// GEOM includes
|
||||
#include <GEOMBase_Helper.h>
|
||||
#include "GEOM_GenericObjPtr.h"
|
||||
#include "MeasureGUI_definitions.h"
|
||||
|
||||
// Qt includes
|
||||
#include <QDialog>
|
||||
@ -45,7 +46,7 @@ class Plot2d_Histogram;
|
||||
// purpose :
|
||||
//==========================================================================
|
||||
|
||||
class MeasureGUI_ShapeStatisticsDlg : public QDialog, public GEOMBase_Helper
|
||||
class MEASUREGUI_EXPORT MeasureGUI_ShapeStatisticsDlg : public QDialog, public GEOMBase_Helper
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
33
src/MeasureGUI/MeasureGUI_definitions.h
Normal file
33
src/MeasureGUI/MeasureGUI_definitions.h
Normal file
@ -0,0 +1,33 @@
|
||||
// Copyright (C) 2015 CEA/DEN, EDF R&D, OPEN CASCADE
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2.1 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
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
//
|
||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
//
|
||||
|
||||
#ifndef MEASUREGUI_DEF_HXX
|
||||
#define MEASUREGUI_DEF_HXX
|
||||
|
||||
#ifdef WIN32
|
||||
# if defined MEASUREGUI_EXPORTS || defined MeasureGUI_EXPORTS
|
||||
# define MEASUREGUI_EXPORT __declspec( dllexport )
|
||||
# else
|
||||
# define MEASUREGUI_EXPORT __declspec( dllimport )
|
||||
# endif
|
||||
#else
|
||||
# define MEASUREGUI_EXPORT
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user