#include <TopoDS_Shape.hxx>
#ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined BREPEXPORT_EXPORTS
+ #if defined WIN32
+ #define BREPEXPORT_EXPORT __declspec( dllexport )
+ #else
+ #define BREPEXPORT_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define BREPEXPORT_EXPORT __declspec( dllimport )
+ #else
+ #define BREPEXPORT_EXPORT
+ #endif
+ #endif
#else
-#define SALOME_WNT_EXPORT
+ #define BREPEXPORT_EXPORT
#endif
//=============================================================================
extern "C"
{
-SALOME_WNT_EXPORT
+BREPEXPORT_EXPORT
int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
{
MESSAGE("Export BREP into file " << theFileName.ToCString());
#include <TopoDS_Shape.hxx>
#ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined BREPIMPORT_EXPORTS
+ #if defined WIN32
+ #define BREPIMPORT_EXPORT __declspec( dllexport )
+ #else
+ #define BREPIMPORT_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define BREPIMPORT_EXPORT __declspec( dllimport )
+ #else
+ #define BREPIMPORT_EXPORT
+ #endif
+ #endif
#else
-#define SALOME_WNT_EXPORT
+ #define BREPIMPORT_EXPORT
#endif
//=============================================================================
extern "C"
{
-SALOME_WNT_EXPORT
+BREPIMPORT_EXPORT
TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
TCollection_AsciiString& theError)
{
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+GEOM_BASICGUI_EXPORT
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return BasicGUI::GetBasicGUI( parent );
#ifndef BASICGUI_H
#define BASICGUI_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMGUI.h"
#include "GEOMBase.h"
#include <V3d_View.hxx>
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
//=================================================================================
// class : BasicGUI
// purpose :
//=================================================================================
-class BasicGUI : public GEOMGUI
+class GEOM_BASICGUI_EXPORT BasicGUI : public GEOMGUI
{
protected:
BasicGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
#ifndef DIALOGBOX_ARC_H
#define DIALOGBOX_ARC_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_3Sel_QTD.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
+
//=================================================================================
// class : BasicGUI_ArcDlg
// purpose :
//=================================================================================
-class BasicGUI_ArcDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_ArcDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_CIRCLE_H
#define DIALOGBOX_CIRCLE_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel1Spin.h"
#include "DlgRef_3Sel_QTD.h"
#include "BasicGUI.h"
-//#include "GEOM_EdgeFilter.hxx"
-//#include "GEOM_ShapeTypeFilter.hxx"
-#include <gp_Dir.hxx>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-
//=================================================================================
// class : BasicGUI_CircleDlg
// purpose :
//=================================================================================
-class BasicGUI_CircleDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_CircleDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_CURVE_H
#define BASICGUI_CURVE_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel_QTD.h"
#include "BasicGUI.h"
#include <list>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-//#include "GEOM_ShapeTypeFilter.hxx"
//=================================================================================
// class : BasicGUI_CurveDlg
// purpose :
//=================================================================================
-class BasicGUI_CurveDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_CurveDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef BASICGUI_ELLIPSE_H
#define BASICGUI_ELLIPSE_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel2Spin.h"
#include "BasicGUI.h"
-//#include "GEOM_ShapeTypeFilter.hxx"
-//#include "GEOM_EdgeFilter.hxx"
-#include <gp_Dir.hxx>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
//=================================================================================
// class : BasicGUI_EllipseDlg
// purpose :
//=================================================================================
-class BasicGUI_EllipseDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_EllipseDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_LINE_H
#define DIALOGBOX_LINE_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel_QTD.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-
//=================================================================================
// class : BasicGUI_LineDlg
// purpose :
//=================================================================================
-class BasicGUI_LineDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_LineDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_Marker_H
#define DIALOGBOX_Marker_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel_QTD.h"
#include "DlgRef_3Sel_QTD.h"
class DlgRef_SpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-
-class BasicGUI_MarkerDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_MarkerDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_PLANE_H
#define DIALOGBOX_PLANE_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel1Spin.h"
#include "DlgRef_2Sel1Spin.h"
#include "DlgRef_3Sel1Spin.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
-
//=================================================================================
// class : BasicGUI_PlaneDlg
// purpose :
//=================================================================================
-class BasicGUI_PlaneDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_PlaneDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_POINT_H
#define DIALOGBOX_POINT_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel1Spin.h"
#include "DlgRef_3Spin.h"
class QLineEdit;
class QGroupBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
//=================================================================================
// class : BasicGUI_PointDlg
// purpose :
//=================================================================================
-class BasicGUI_PointDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_PointDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_VECTOR_H
#define DIALOGBOX_VECTOR_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel_QTD.h"
#include "DlgRef_3Spin1Check.h"
#include "BasicGUI.h"
-//#include "GEOM_ShapeTypeFilter.hxx"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
//=================================================================================
// class : BasicGUI_VectorDlg
// purpose :
//=================================================================================
-class BasicGUI_VectorDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BasicGUI_VectorDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_WORKINGPLANE_H
#define DIALOGBOX_WORKINGPLANE_H
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel_QTD.h"
#include "DlgRef_2Sel_QTD.h"
#include "DlgRef_3Check_QTD.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define BASICGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define BASICGUI_WNT_EXPORT
-#endif
//=================================================================================
// class : BasicGUI_WorkingPlaneDlg
// purpose :
//=================================================================================
-class BASICGUI_WNT_EXPORT BasicGUI_WorkingPlaneDlg : public GEOMBase_Skeleton
+class GEOM_BASICGUI_EXPORT BASICGUI_WNT_EXPORT BasicGUI_WorkingPlaneDlg : public GEOMBase_Skeleton
{
Q_OBJECT
--- /dev/null
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// 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.
+//
+// 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : GEOM_BasicGUI.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_BasicGUI_HXX_
+#define _GEOM_BasicGUI_HXX_
+
+#ifdef WNT
+ #if defined BASICGUI_EXPORTS
+ #if defined WIN32
+ #define GEOM_BASICGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_BASICGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_BASICGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_BASICGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_BASICGUI_EXPORT
+#endif
+
+#endif
BasicGUI_PlaneDlg.h \
BasicGUI_WorkingPlaneDlg.h \
BasicGUI_CurveDlg.h \
- BasicGUI_MarkerDlg.h
+ BasicGUI_MarkerDlg.h \
+ GEOM_BasicGUI.hxx
LIB_CLIENT_IDL = SALOME_GenericObj.idl SALOME_Exception.idl SALOME_Component.idl
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+ GEOM_BLOCKSGUI_EXPORT
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return BlocksGUI::GetBlocksGUI( parent );
#ifndef BLOCKSGUI_H
#define BLOCKSGUI_H
+#include "GEOM_BlocksGUI.hxx"
+
#include "GEOMGUI.h"
//=================================================================================
// class : BlocksGUI
// purpose :
//=================================================================================
-class BlocksGUI : public GEOMGUI
+class GEOM_BLOCKSGUI_EXPORT BlocksGUI : public GEOMGUI
{
protected:
BlocksGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
#ifndef DIALOGBOX_BLOCK_H
#define DIALOGBOX_BLOCK_H
+#include "GEOM_BlocksGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel_QTD.h"
#include "DlgRef_6Sel_QTD.h"
// class : BlocksGUI_BlockDlg
// purpose :
//=================================================================================
-class BlocksGUI_BlockDlg : public GEOMBase_Skeleton
+class GEOM_BLOCKSGUI_EXPORT BlocksGUI_BlockDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_BLOCK_EXPLODE_H
#define DIALOGBOX_BLOCK_EXPLODE_H
+#include "GEOM_BlocksGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
class DlgRef_SpinBox;
// class : BlocksGUI_ExplodeDlg
// purpose :
//=================================================================================
-class BlocksGUI_ExplodeDlg : public GEOMBase_Skeleton
+class GEOM_BLOCKSGUI_EXPORT BlocksGUI_ExplodeDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_BlocksGUI_PropagateDlg_H
#define DIALOGBOX_BlocksGUI_PropagateDlg_H
+#include "GEOM_BlocksGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
// class : BlocksGUI_PropagateDlg
// purpose :
//=================================================================================
-class BlocksGUI_PropagateDlg : public GEOMBase_Skeleton
+class GEOM_BLOCKSGUI_EXPORT BlocksGUI_PropagateDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_QUAD_FACE_H
#define DIALOGBOX_QUAD_FACE_H
+#include "GEOM_BlocksGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
//=================================================================================
// class : BlocksGUI_QuadFaceDlg
// purpose :
//=================================================================================
-class BlocksGUI_QuadFaceDlg : public GEOMBase_Skeleton
+class GEOM_BLOCKSGUI_EXPORT BlocksGUI_QuadFaceDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_BLOCK_MULTITRSF_H
#define DIALOGBOX_BLOCK_MULTITRSF_H
+#include "GEOM_BlocksGUI.hxx"
+
+#include "GEOM_BasicGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
class DlgRef_SpinBox;
// class : BlocksGUI_TrsfDlg
// purpose :
//=================================================================================
-class BlocksGUI_TrsfDlg : public GEOMBase_Skeleton
+class GEOM_BLOCKSGUI_EXPORT BlocksGUI_TrsfDlg : public GEOMBase_Skeleton
{
Q_OBJECT
--- /dev/null
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// 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.
+//
+// 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : GEOM_BlocksGUI.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_BlocksGUI_HXX_
+#define _GEOM_BlocksGUI_HXX_
+
+#ifdef WNT
+ #if defined BLOCKSGUI_EXPORTS
+ #if defined WIN32
+ #define GEOM_BLOCKSGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_BLOCKSGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_BLOCKSGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_BLOCKSGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_BASICGUI_EXPORT
+#endif
+
+#endif
BlocksGUI_BlockDlg.h \
BlocksGUI_ExplodeDlg.h \
BlocksGUI_PropagateDlg.h \
- BlocksGUI_TrsfDlg.h
+ BlocksGUI_TrsfDlg.h \
+ GEOM_BlocksGUI.hxx
LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl