//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+GEOM_BOOLEANGUI_EXPORT
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return BooleanGUI::GetBooleanGUI( parent );
#include "GEOMGUI.h"
+#ifdef WNT
+ #if defined BOOLEANGUI_EXPORTS
+ #if defined WIN32
+ #define GEOM_BOOLEANGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_BOOLEANGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_BOOLEANGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_BOOLEANGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_BOOLEANGUI_EXPORT
+#endif
+
//=================================================================================
// class : BooleanGUI
// purpose :
//=================================================================================
-class BooleanGUI : public GEOMGUI
+class GEOM_BOOLEANGUI_EXPORT BooleanGUI : public GEOMGUI
{
protected:
BooleanGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
#ifndef BooleanGUI_Dialog_H
#define BooleanGUI_Dialog_H
+#include "BooleanGUI.h" //for wnt defines
+
#include "GEOMBase_Skeleton.h"
class DlgRef_2Sel_QTD;
// class : BooleanGUI_Dialog
// purpose :
//=================================================================================
-class BooleanGUI_Dialog : public GEOMBase_Skeleton
+class GEOM_BOOLEANGUI_EXPORT BooleanGUI_Dialog : public GEOMBase_Skeleton
{
Q_OBJECT
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+ GEOM_BUILDGUI_EXPORT
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return BuildGUI::GetBuildGUI( parent );
#ifndef BUILDGUI_H
#define BUILDGUI_H
+#include "GEOM_BuildGUI.hxx"
+
#include "GEOMGUI.h"
//=================================================================================
// class : BuildGUI
// purpose :
//=================================================================================
-class BuildGUI : public GEOMGUI
+class GEOM_BUILDGUI_EXPORT BuildGUI : public GEOMGUI
{
protected:
BuildGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
#ifndef DIALOGBOX_COMPOUND_H
#define DIALOGBOX_COMPOUND_H
+#include "GEOM_BuildGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel_QTD.h"
// class : BuildGUI_CompoundDlg
// purpose :
//=================================================================================
-class BuildGUI_CompoundDlg : public GEOMBase_Skeleton
+class GEOM_BUILDGUI_EXPORT BuildGUI_CompoundDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_EDGE_H
#define DIALOGBOX_EDGE_H
+#include "GEOM_BuildGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel_QTD.h"
// class : BuildGUI_EdgeDlg
// purpose :
//=================================================================================
-class BuildGUI_EdgeDlg : public GEOMBase_Skeleton
+class GEOM_BUILDGUI_EXPORT BuildGUI_EdgeDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_FACE_H
#define DIALOGBOX_FACE_H
+#include "GEOM_BuildGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel1Check_QTD.h"
// class : BuildGUI_FaceDlg
// purpose :
//=================================================================================
-class BuildGUI_FaceDlg : public GEOMBase_Skeleton
+class GEOM_BUILDGUI_EXPORT BuildGUI_FaceDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_SHELL_H
#define DIALOGBOX_SHELL_H
+#include "GEOM_BuildGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel_QTD.h"
// class : BuildGUI_ShellDlg
// purpose :
//=================================================================================
-class BuildGUI_ShellDlg : public GEOMBase_Skeleton
+class GEOM_BUILDGUI_EXPORT BuildGUI_ShellDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_SOLID_H
#define DIALOGBOX_SOLID_H
+#include "GEOM_BuildGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel1Check_QTD.h"
// class : BuildGUI_SolidDlg
// purpose :
//=================================================================================
-class BuildGUI_SolidDlg : public GEOMBase_Skeleton
+class GEOM_BUILDGUI_EXPORT BuildGUI_SolidDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_WIRE_H
#define DIALOGBOX_WIRE_H
+#include "GEOM_BuildGUI"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel_QTD.h"
// class : BuildGUI_WireDlg
// purpose :
//=================================================================================
-class BuildGUI_WireDlg : public GEOMBase_Skeleton
+class GEOM_BUILDGUI_EXPORT BuildGUI_WireDlg : 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_BuildGUI.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_BuildGUI_HXX_
+#define _GEOM_BuildGUI_HXX_
+
+#ifdef WNT
+ #if defined BUILDGUI_EXPORTS
+ #if defined WIN32
+ #define GEOM_BUILDGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_BUILDGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_BUILDGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_BUILDGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_BUILDGUI_EXPORT
+#endif
+
+#endif
BuildGUI_FaceDlg.h \
BuildGUI_ShellDlg.h \
BuildGUI_SolidDlg.h \
- BuildGUI_CompoundDlg.h
+ BuildGUI_CompoundDlg.h \
+ GEOM_BuildGUI.hxx
LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl SALOME_Component.idl
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+ GEOM_DISPLAYGUI_EXPORT
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return DisplayGUI::GetDisplayGUI( parent );
#include "GEOMGUI.h"
#include "GEOMBase.h"
-//#ifdef WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DISPLAYGUI_WNT_EXPORT __declspec( dllexport )
+
+#ifdef WNT
+ #if defined DISPLAYGUI_EXPORTS
+ #if defined WIN32
+ #define GEOM_DISPLAYGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_DISPLAYGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_DISPLAYGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_DISPLAYGUI_EXPORT
+ #endif
+ #endif
#else
-#define DISPLAYGUI_WNT_EXPORT
+ #define GEOM_DISPLAYGUI_EXPORT
#endif
//=================================================================================
// class : GEOMBase_Display
//=================================================================================
//class QAD_ViewFrame;
class SUIT_ViewWindow;
-class DisplayGUI : public GEOMGUI
+class GEOM_DISPLAYGUI_EXPORT DisplayGUI : public GEOMGUI
{
protected:
DisplayGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
#ifndef DLGREF_1LIST1SPIN1BTN_QTD_H
#define DLGREF_1LIST1SPIN1BTN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1List1Spin1Btn_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1List1Spin1Btn_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL1CHECK1LIST_QTD_H
#define DLGREF_1SEL1CHECK1LIST_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QRadioButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Check1List_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1Sel1Check1List_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL1CHECK_QTD_H
#define DLGREF_1SEL1CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1Sel1Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL1SPIN_H
#define DLGREF_1SEL1SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_1Sel1Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin : public DlgRef_1Sel1Spin_QTD
+
+class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin : public DlgRef_1Sel1Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_1SEL1SPIN1CHECK_H
#define DLGREF_1SEL1SPIN1CHECK_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_1Sel1Spin1Check_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin1Check : public DlgRef_1Sel1Spin1Check_QTD
+class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin1Check : public DlgRef_1Sel1Spin1Check_QTD
{
Q_OBJECT
#ifndef DLGREF_1SEL1SPIN1CHECK_QTD_H
#define DLGREF_1SEL1SPIN1CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_1Sel1Spin1Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin1Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL1SPIN_QTD_H
#define DLGREF_1SEL1SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_1Sel1Spin_QTD : public QWidget
+
+class GEOM_DLGREF_EXPORT DlgRef_1Sel1Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL2SPIN_H
#define DLGREF_1SEL2SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_1Sel2Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-class DlgRef_1Sel2Spin : public DlgRef_1Sel2Spin_QTD
+class GEOM_DLGREF_EXPORT DlgRef_1Sel2Spin : public DlgRef_1Sel2Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_1SEL2SPIN_QTD_H
#define DLGREF_1SEL2SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_1Sel2Spin_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1Sel2Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL3CHECK_QTD_H
#define DLGREF_1SEL3CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-class DlgRef_1Sel3Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1Sel3Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL3SPIN_H
#define DLGREF_1SEL3SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_1Sel3Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel3Spin : public DlgRef_1Sel3Spin_QTD
+
+class GEOM_DLGREF_EXPORT DlgRef_1Sel3Spin : public DlgRef_1Sel3Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_1SEL3SPIN_QTD_H
#define DLGREF_1SEL3SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_1Sel3Spin_QTD : public QWidget
+
+class GEOM_DLGREF_EXPORT DlgRef_1Sel3Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL4SPIN_H
#define DLGREF_1SEL4SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_1Sel4Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-class DlgRef_1Sel4Spin : public DlgRef_1Sel4Spin_QTD
+class GEOM_DLGREF_EXPORT DlgRef_1Sel4Spin : public DlgRef_1Sel4Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_1SEL4SPIN_QTD_H
#define DLGREF_1SEL4SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_1Sel4Spin_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1Sel4Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SEL5SPIN_H
#define DLGREF_1SEL5SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_1Sel5Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel5Spin : public DlgRef_1Sel5Spin_QTD
+class GEOM_DLGREF_EXPORT DlgRef_1Sel5Spin : public DlgRef_1Sel5Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_1SEL5SPIN_QTD_H
#define DLGREF_1SEL5SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_1Sel5Spin_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1Sel5Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DlgRef_1Sel_Ext_H
#define DlgRef_1Sel_Ext_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_1Sel_QTD.h"
class QGridLayout;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel_Ext : public DlgRef_1Sel_QTD
+class GEOM_DLGREF_EXPORT DlgRef_1Sel_Ext : public DlgRef_1Sel_QTD
{
Q_OBJECT
#ifndef DLGREF_1SEL_QTD_H
#define DLGREF_1SEL_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_1Sel_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_1Sel_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_1SPIN_H
#define DLGREF_1SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_1Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_1Spin : public DlgRef_1Spin_QTD
+
+class GEOM_DLGREF_EXPORT DlgRef_1Spin : public DlgRef_1Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_1SPIN_QTD_H
#define DLGREF_1SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QGroupBox;
class QLabel;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_1Spin_QTD : public QWidget
+
+class GEOM_DLGREF_EXPORT DlgRef_1Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_2SEL1SPIN_H
#define DLGREF_2SEL1SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_2Sel1Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel1Spin : public DlgRef_2Sel1Spin_QTD
+
+class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin : public DlgRef_2Sel1Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_2SEL1SPIN2CHECK_H
#define DLGREF_2SEL1SPIN2CHECK_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_2Sel1Spin2Check_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Sel1Spin2Check : public DlgRef_2Sel1Spin2Check_QTD
+class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin2Check : public DlgRef_2Sel1Spin2Check_QTD
{
Q_OBJECT
#ifndef DLGREF_2SEL1SPIN2CHECK_QTD_H
#define DLGREF_2SEL1SPIN2CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_2Sel1Spin2Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin2Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_2SEL1SPIN_QTD_H
#define DLGREF_2SEL1SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel1Spin_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_2Sel1Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_2SEL2SPIN_H
#define DLGREF_2SEL2SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_2Sel2Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Sel2Spin : public DlgRef_2Sel2Spin_QTD
+
+class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin : public DlgRef_2Sel2Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_2SEL2SPIN1CHECK_H
#define DLGREF_2SEL2SPIN1CHECK_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_2Sel2Spin1Check_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel2Spin1Check : public DlgRef_2Sel2Spin1Check_QTD
+class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin1Check : public DlgRef_2Sel2Spin1Check_QTD
{
Q_OBJECT
#ifndef DLGREF_2SEL2SPIN1CHECK_QTD_H
#define DLGREF_2SEL2SPIN1CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_2Sel2Spin1Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin1Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_2SEL2SPIN_QTD_H
#define DLGREF_2SEL2SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel2Spin_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_2Sel2Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_2SEL3SPIN_H
#define DLGREF_2SEL3SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_2Sel3Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel3Spin : public DlgRef_2Sel3Spin_QTD
+class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin : public DlgRef_2Sel3Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_2SEL3SPIN_QTD_H
#define DLGREF_2SEL3SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Sel3Spin_QTD : public QWidget
+
+class GEOM_DLGREF_EXPORT DlgRef_2Sel3Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_2SEL4SPIN1CHECK_H
#define DLGREF_2SEL4SPIN1CHECK_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_2Sel4Spin1Check_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Sel4Spin1Check : public DlgRef_2Sel4Spin1Check_QTD
+class GEOM_DLGREF_EXPORT DlgRef_2Sel4Spin1Check : public DlgRef_2Sel4Spin1Check_QTD
{
Q_OBJECT
#ifndef DLGREF_2SEL4SPIN1CHECK_QTD_H
#define DLGREF_2SEL4SPIN1CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_2Sel4Spin1Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_2Sel4Spin1Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_2SEL_QTD_H
#define DLGREF_2SEL_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_2Sel_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_2Sel_QTD : public QWidget
{
Q_OBJECT
#include "DlgRef_2Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Spin : public DlgRef_2Spin_QTD
+
+#include "GEOM_DlgRef.hxx"
+
+class GEOM_DLGREF_EXPORT DlgRef_2Spin : public DlgRef_2Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_2SPIN_QTD_H
#define DLGREF_2SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QGroupBox;
class QLabel;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_2Spin_QTD : public QWidget
+
+class GEOM_DLGREF_EXPORT DlgRef_2Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_3CHECK_QTD_H
#define DLGREF_3CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QButtonGroup;
class QRadioButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_3Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DlgRef_3SEL_1SPIN_H
#define DlgRef_3SEL_1SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_3Sel_QTD.h"
#include "DlgRef_SpinBox.h"
#include <qlayout.h>
#include <qlabel.h>
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
+
//=================================================================================
// class : DlgRef_3Sel1Spin
// purpose : extension of a DlgRef_3Sel_QTD class, 1 additional spin box is added
//=================================================================================
-class DLGREF_WNT_EXPORT DlgRef_3Sel1Spin : public DlgRef_3Sel_QTD
+class GEOM_DLGREF_EXPORT DlgRef_3Sel1Spin : public DlgRef_3Sel_QTD
{
Q_OBJECT
#ifndef DLGREF_3SEL3SPIN1CHECK_H
#define DLGREF_3SEL3SPIN1CHECK_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_3Sel3Spin1Check_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Sel3Spin1Check : public DlgRef_3Sel3Spin1Check_QTD
+class GEOM_DLGREF_EXPORT DlgRef_3Sel3Spin1Check : public DlgRef_3Sel3Spin1Check_QTD
{
Q_OBJECT
#ifndef DLGREF_3SEL3SPIN1CHECK_QTD_H
#define DLGREF_3SEL3SPIN1CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_3Sel3Spin1Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_3Sel3Spin1Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_3SEL4SPIN2CHECK_H
#define DLGREF_3SEL4SPIN2CHECK_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_3Sel4Spin2Check_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Sel4Spin2Check : public DlgRef_3Sel4Spin2Check_QTD
+class GEOM_DLGREF_EXPORT DlgRef_3Sel4Spin2Check : public DlgRef_3Sel4Spin2Check_QTD
{
Q_OBJECT
#ifndef DLGREF_3SEL4SPIN2CHECK_QTD_H
#define DLGREF_3SEL4SPIN2CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class DlgRef_3Sel4Spin2Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_3Sel4Spin2Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_3SEL_QTD_H
#define DLGREF_3SEL_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Sel_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_3Sel_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_3SPIN_H
#define DLGREF_3SPIN_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_3Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_3Spin : public DlgRef_3Spin_QTD
+
+class GEOM_DLGREF_EXPORT DlgRef_3Spin : public DlgRef_3Spin_QTD
{
Q_OBJECT
#ifndef DLGREF_3SPIN1CHECK_H
#define DLGREF_3SPIN1CHECK_H
+#include "GEOM_DlgRef.hxx"
+
#include "DlgRef_3Spin1Check_QTD.h"
#include "DlgRef_SpinBox.h"
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_3Spin1Check : public DlgRef_3Spin1Check_QTD
+class GEOM_DLGREF_EXPORT DlgRef_3Spin1Check : public DlgRef_3Spin1Check_QTD
{
Q_OBJECT
#ifndef DLGREF_3SPIN1CHECK_QTD_H
#define DLGREF_3SPIN1CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QRadioButton;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_3Spin1Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_3Spin1Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_3SPIN_QTD_H
#define DLGREF_3SPIN_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLabel;
class QSpinBox;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-class DLGREF_WNT_EXPORT DlgRef_3Spin_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_3Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_4SEL1LIST1CHECK_QTD_H
#define DLGREF_4SEL1LIST1CHECK_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QCheckBox;
class QPushButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_4Sel1List1Check_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_4Sel1List1Check_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_4SEL1LIST_QTD_H
#define DLGREF_4SEL1LIST_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-class DlgRef_4Sel1List_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_4Sel1List_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_6SEL_QTD_H
#define DLGREF_6SEL_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_6Sel_QTD : public QWidget
+class GEOM_DLGREF_EXPORT DlgRef_6Sel_QTD : public QWidget
{
Q_OBJECT
#ifndef DLGREF_SKELETON_QTD_H
#define DLGREF_SKELETON_QTD_H
+#include "GEOM_DlgRef.hxx"
+
#include <qvariant.h>
#include <qdialog.h>
class QVBoxLayout;
class QPushButton;
class QRadioButton;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
-
-class DLGREF_WNT_EXPORT DlgRef_Skeleton_QTD : public QDialog
+class GEOM_DLGREF_EXPORT DlgRef_Skeleton_QTD : public QDialog
{
Q_OBJECT
#ifndef GEOMSPINBOX_H
#define GEOMSPINBOX_H
+#include "GEOM_DlgRef.hxx"
+
#include "QtxDblSpinBox.h"
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DLGREF_WNT_EXPORT __declspec( dllexport )
-#else
-#define DLGREF_WNT_EXPORT
-#endif
+
//=================================================================================
// class : DlgRef_SpinBox
// purpose : Derivated from QSpinBox class and modified to accept floats
//=================================================================================
-class DLGREF_WNT_EXPORT DlgRef_SpinBox : public QtxDblSpinBox
+class GEOM_DLGREF_EXPORT DlgRef_SpinBox : public QtxDblSpinBox
{
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_DlgRef.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_DlgRef_HXX_
+#define _GEOM_DlgRef_HXX_
+
+#ifdef WNT
+ #if defined DLGREF_EXPORTS
+ #if defined WIN32
+ #define GEOM_DLGREF_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_DLGREF_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_DLGREF_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_DLGREF_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_OBJECT_EXPORT
+#endif
+
+#endif
DlgRef_3Sel1Spin.h \
DlgRef_1Sel_Ext.h \
DlgRef_3Check_QTD.h \
- DlgRef_6Sel_QTD.h
+ DlgRef_6Sel_QTD.h \
+ GEOM_DlgRef.hxx
# header files
EXPORT_HEADERS= $(LIB_MOC)
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+GEOM_ENTITYGUI_EXPORT
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return EntityGUI::GetEntityGUI( parent );
#ifndef ENTITYGUI_H
#define ENTITYGUI_H
+#include "GEOM_EntityGUI.hxx"
+
#include "GEOMGUI.h"
#include "GEOMBase.h"
// class : EntityGUI
// purpose :
//=================================================================================
-class EntityGUI : public GEOMGUI
+class GEOM_ENTITYGUI_EXPORT EntityGUI : public GEOMGUI
{
protected:
EntityGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
#ifndef ENTITYGUI_1SEL_QTD_H
#define ENTITYGUI_1SEL_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-class EntityGUI_1Sel_QTD : public QWidget
+class GEOM_ENTITYGUI_EXPORT EntityGUI_1Sel_QTD : public QWidget
{
Q_OBJECT
#ifndef ENTITYGUI_1SPIN_H
#define ENTITYGUI_1SPIN_H
+#include "GEOM_EntityGUI.hxx"
+
#include "EntityGUI_1Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-class EntityGUI_1Spin : public EntityGUI_1Spin_QTD
+class GEOM_ENTITYGUI_EXPORT EntityGUI_1Spin : public EntityGUI_1Spin_QTD
{
Q_OBJECT
#ifndef ENTITYGUI_1SPIN_QTD_H
#define ENTITYGUI_1SPIN_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class EntityGUI_1Spin_QTD : public QWidget
+class GEOM_ENTITYGUI_EXPORT EntityGUI_1Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef ENTITYGUI_2SPIN_H
#define ENTITYGUI_2SPIN_H
+#include "GEOM_EntityGUI.hxx"
+
#include "EntityGUI_2Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-class EntityGUI_2Spin : public EntityGUI_2Spin_QTD
+class GEOM_ENTITYGUI_EXPORT EntityGUI_2Spin : public EntityGUI_2Spin_QTD
{
Q_OBJECT
#ifndef ENTITYGUI_2SPIN_QTD_H
#define ENTITYGUI_2SPIN_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class EntityGUI_2Spin_QTD : public QWidget
+class GEOM_ENTITYGUI_EXPORT EntityGUI_2Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef ENTITYGUI_3SPIN_H
#define ENTITYGUI_3SPIN_H
+#include "GEOM_EntityGUI.hxx"
+
#include "EntityGUI_3Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-class EntityGUI_3Spin : public EntityGUI_3Spin_QTD
+class GEOM_ENTITYGUI_EXPORT EntityGUI_3Spin : public EntityGUI_3Spin_QTD
{
Q_OBJECT
#ifndef ENTITYGUI_3SPIN_QTD_H
#define ENTITYGUI_3SPIN_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class EntityGUI_3Spin_QTD : public QWidget
+class GEOM_ENTITYGUI_EXPORT EntityGUI_3Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef ENTITYGUI_4SPIN_H
#define ENTITYGUI_4SPIN_H
+#include "GEOM_EntityGUI.hxx"
+
#include "EntityGUI_4Spin_QTD.h"
#include "DlgRef_SpinBox.h"
-class EntityGUI_4Spin : public EntityGUI_4Spin_QTD
+class GEOM_ENTITYGUI_EXPORT EntityGUI_4Spin : public EntityGUI_4Spin_QTD
{
Q_OBJECT
#ifndef ENTITYGUI_4SPIN_QTD_H
#define ENTITYGUI_4SPIN_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QSpinBox;
-class EntityGUI_4Spin_QTD : public QWidget
+class GEOM_ENTITYGUI_EXPORT EntityGUI_4Spin_QTD : public QWidget
{
Q_OBJECT
#ifndef ENTITYGUI_DIR1_QTD_H
#define ENTITYGUI_DIR1_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QButtonGroup;
class QRadioButton;
-class EntityGUI_Dir1_QTD : public QWidget
+class GEOM_ENTITYGUI_EXPORT EntityGUI_Dir1_QTD : public QWidget
{
Q_OBJECT
#ifndef ENTITYGUI_DIR2_QTD_H
#define ENTITYGUI_DIR2_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QButtonGroup;
class QRadioButton;
-class EntityGUI_Dir2_QTD : public QWidget
+class GEOM_ENTITYGUI_EXPORT EntityGUI_Dir2_QTD : public QWidget
{
Q_OBJECT
#ifndef ENTITYGUI_POINT_QTD_H
#define ENTITYGUI_POINT_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QButtonGroup;
class QRadioButton;
-class EntityGUI_Point_QTD : public QWidget
+class GEOM_ENTITYGUI_EXPORT EntityGUI_Point_QTD : public QWidget
{
Q_OBJECT
#ifndef ENTITYGUI_SKELETON_QTD_H
#define ENTITYGUI_SKELETON_QTD_H
+#include "GEOM_EntityGUI.hxx"
+
#include <qvariant.h>
#include <qdialog.h>
class QVBoxLayout;
class QPushButton;
class QRadioButton;
-class EntityGUI_Skeleton_QTD : public QDialog
+class GEOM_ENTITYGUI_EXPORT EntityGUI_Skeleton_QTD : public QDialog
{
Q_OBJECT
#ifndef ENTITYGUI_SKETCHERDLG_H
#define ENTITYGUI_SKETCHERDLG_H
+#include "GEOM_EntityGUI.hxx"
+
#include "GEOMBase_Helper.h"
#include "EntityGUI_Skeleton_QTD.h"
// class : EntityGUI_Dlg
// purpose :
//=================================================================================
-class EntityGUI_SketcherDlg : public EntityGUI_Skeleton_QTD, public GEOMBase_Helper
+class GEOM_ENTITYGUI_EXPORT EntityGUI_SketcherDlg : public EntityGUI_Skeleton_QTD, public GEOMBase_Helper
{
Q_OBJECT
#ifndef DIALOGBOX_SUBSHAPE_H
#define DIALOGBOX_SUBSHAPE_H
+#include "GEOM_EntityGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel1Check1List_QTD.h"
// class : EntityGUI_SubShapeDlg
// purpose :
//=================================================================================
-class EntityGUI_SubShapeDlg : public GEOMBase_Skeleton
+class GEOM_ENTITYGUI_EXPORT EntityGUI_SubShapeDlg : 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_EntityGUI.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_EntityGUI_HXX_
+#define _GEOM_EntityGUI_HXX_
+
+#ifdef WNT
+ #if defined ENTITYGUI_EXPORTS
+ #if defined WIN32
+ #define GEOM_ENTITYGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_ENTITYGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_ENTITYGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_ENTITYGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_ENTITYGUI_EXPORT
+#endif
+
+#endif
LIB = libEntityGUI.la
# header files
-EXPORT_HEADERS=
+EXPORT_HEADERS= GEOM_EntityGUI.hxx
LIB_SRC = EntityGUI.cxx \
EntityGUI_Skeleton_QTD.cxx \
{
public:
+ Standard_EXPORT
GEOMAlgo_FinderShapeOnQuad(const gp_Pnt & theTopLeftPoint,
const gp_Pnt & theTopRigthPoint,
const gp_Pnt & theBottomLeftPoint,
#ifndef GEOMBASE_H
#define GEOMBASE_H
+#include "GEOM_GEOMBase.hxx"
+
// SALOME Includes
#include "GEOM_AISShape.hxx"
// QT Includes
#include <qstring.h>
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMBASE_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMBASE_WNT_EXPORT
-#endif
class GEOM_Actor;
class SALOME_ListIO;
// class : GEOMBase
// purpose :
//=================================================================================
-class GEOMBASE_WNT_EXPORT GEOMBase
+class GEOMBASE_EXPORT GEOMBase
{
public :
GEOMBase();
#ifndef GEOMBASE_HELPER_H
#define GEOMBASE_HELPER_H
+#include "GEOM_GEOMBase.hxx"
+
#include "GEOM_Displayer.h"
#include "SALOME_Prs.h"
#include "SALOME_ListIO.hxx"
#include <qstring.h>
#include <list>
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMBASE_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMBASE_WNT_EXPORT
-#endif
+
typedef std::list<GEOM::GEOM_Object_ptr> ObjectList;
class SalomeApp_Study;
// performing common operations (display/erase, selection activation,
// publication in a study, transaction management)
//================================================================
-class GEOMBASE_WNT_EXPORT GEOMBase_Helper
+class GEOMBASE_EXPORT GEOMBase_Helper
{
public:
GEOMBase_Helper( SUIT_Desktop* );
#ifndef GEOMBASE_SKELETON_H
#define GEOMBASE_SKELETON_H
+#include "GEOM_GEOMBase.hxx"
+
#include "DlgRef_Skeleton_QTD.h"
#include "GEOMBase.h"
#include <qpushbutton.h>
#include <qradiobutton.h>
#include <qbuttongroup.h>
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMBASE_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMBASE_WNT_EXPORT
-#endif
-class GEOMBASE_WNT_EXPORT GEOMBase_Skeleton : public DlgRef_Skeleton_QTD, public GEOMBase_Helper
+class GEOMBASE_EXPORT GEOMBase_Skeleton : public DlgRef_Skeleton_QTD, public GEOMBase_Helper
{
Q_OBJECT
#ifndef GEOMBase_aParameterDLG_H
#define GEOMBase_aParameterDLG_H
+#include "GEOM_GEOMBase.hxx"
+
#include <qdialog.h>
class QPushButton;
// class : GEOMBase_aParameterDlg
// purpose :
//=================================================================================
-class GEOMBase_aParameterDlg : public QDialog
+class GEOMBASE_EXPORT GEOMBase_aParameterDlg : public QDialog
{
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_GEOMBase.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_GEOMBase_HXX_
+#define _GEOM_GEOMBase_HXX_
+
+#ifdef WNT
+ #if defined GEOMBASE_EXPORTS
+ #if defined WIN32
+ #define GEOMBASE_EXPORT __declspec( dllexport )
+ #else
+ #define GEOMBASE_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOMBASE_EXPORT __declspec( dllimport )
+ #else
+ #define GEOMBASE_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOMBASE_EXPORT
+#endif
+
+#endif
#ifndef GEOM_OPERATION_H
#define GEOM_OPERATION_H
+#include "GEOM_GEOMBase.hxx"
+
#include "SUIT_Operation.h"
#include <SALOMEconfig.h>
-#include <Standard_Macro.hxx>
#include CORBA_CLIENT_HEADER(GEOM_Gen)
-class Standard_EXPORT GEOM_Operation : public SUIT_Operation
+class GEOMBASE_EXPORT GEOM_Operation : public SUIT_Operation
{
public:
GEOM_Operation( SUIT_Application*, GEOM::GEOM_IOperations_ptr );
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMCLIENT_WNT_EXPORT __declspec( dllexport )
+
+#ifdef WNT
+ #if defined GEOMCLIENT_EXPORTS
+ #if defined WIN32
+ #define GEOMCLIENT_EXPORT __declspec( dllexport )
+ #else
+ #define GEOMCLIENT_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOMCLIENT_EXPORT __declspec( dllimport )
+ #else
+ #define GEOMCLIENT_EXPORT
+ #endif
+ #endif
#else
-#define GEOMCLIENT_WNT_EXPORT
+ #define GEOMCLIENT_EXPORT
#endif
//=====================================================================
// GEOM_Client : class definition
//=====================================================================
-class GEOMCLIENT_WNT_EXPORT GEOM_Client {
+class GEOMCLIENT_EXPORT GEOM_Client {
public:
#include <OSD_SharedLibrary.hxx>
#include <qapplication.h>
+#ifdef WNT
+ #if defined GEOMCONTEXT_EXPORTS
+ #if defined WIN32
+ #define GEOM_CONTEXT_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_CONTEXT_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_CONTEXT_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_CONTEXT_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_CONTEXT_EXPORT
+#endif
+
//=================================================================================
// class : GEOMContext
// purpose :
//=================================================================================
-class GEOMContext : public QObject
+class GEOM_CONTEXT_EXPORT GEOMContext : public QObject
{
Q_OBJECT /* for QT compatibility */
#if !defined( __GEOMGUI_H )
#define __GEOMGUI_H
+#include "GEOM_GEOMGUI.hxx"
+
#include <qobject.h>
class SUIT_Desktop;
class QKeyEvent;
class GeometryGUI;
-//#ifdef WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMGUI_WNT_EXPORT
-#endif
//=================================================================================
// class : GEOMGUI
// purpose : Base class for all geometry GUI subclasses
//=================================================================================
-class GEOMGUI_WNT_EXPORT GEOMGUI : public QObject
+class GEOMGUI_EXPORT GEOMGUI : public QObject
{
public :
// Constructor
#ifndef GEOMGUI_OCCSELECTOR_H
#define GEOMGUI_OCCSELECTOR_H
+#include "GEOM_GEOMGUI.hxx"
+
#include <LightApp_OCCSelector.h>
-class GEOMGUI_OCCSelector : public LightApp_OCCSelector
+class GEOMGUI_EXPORT GEOMGUI_OCCSelector : public LightApp_OCCSelector
{
public:
GEOMGUI_OCCSelector( OCCViewer_Viewer*, SUIT_SelectionMgr* );
#ifndef GEOMGUI_SELECTION_HeaderFile
#define GEOMGUI_SELECTION_HeaderFile
+#include "GEOM_GEOMGUI.hxx"
+
#include <LightApp_Selection.h>
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(GEOM_Gen)
-class GEOMGUI_Selection : public LightApp_Selection
+class GEOMGUI_EXPORT GEOMGUI_Selection : public LightApp_Selection
{
public:
GEOMGUI_Selection();
#if !defined (__GEOM_DISPLAYER_H)
#define __GEOM_DISPLAYER_H
+#include "GEOM_GEOMGUI.hxx"
+
#include "SALOME_Prs.h"
#include "SALOME_InteractiveObject.hxx"
#include "SALOME_ListIO.hxx"
class SUIT_SelectionFilter;
//class SALOME_Selection;
-//#ifdef WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMGUI_WNT_EXPORT
-#endif
-
-class GEOMGUI_WNT_EXPORT GEOM_Displayer : public LightApp_Displayer
+class GEOMGUI_EXPORT GEOM_Displayer : public LightApp_Displayer
{
public:
--- /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_GEOMGUI.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_GEOMGUI_HXX_
+#define _GEOM_GEOMGUI_HXX_
+
+#ifdef WNT
+ #if defined GEOMGUI_EXPORTS
+ #if defined WIN32
+ #define GEOMGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOMGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOMGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOMGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOMGUI_EXPORT
+#endif
+
+#endif
#ifndef GEOMETRYGUI_H
#define GEOMETRYGUI_H
+#include "GEOM_GEOMGUI.hxx"
+
#include "SalomeApp_Module.h"
#include "GEOMGUI.h"
#include "SALOMEconfig.h"
#include CORBA_CLIENT_HEADER(SALOMEDS)
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-//#if defined WNT
-//#include <SALOME_WNT.hxx>
-//#else
-//#define SALOME_WNT_EXPORT
-//#endif
-
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMGUI_WNT_EXPORT
-#endif
-
typedef QMap<QString, GEOMGUI*> GUIMap;
class QDialog;
// class : GeometryGUI
// purpose :
//=================================================================================
-class GEOMGUI_WNT_EXPORT GeometryGUI : public SalomeApp_Module
+class GEOMGUI_EXPORT GeometryGUI : public SalomeApp_Module
{
Q_OBJECT;
#ifndef _GeometryGUI_SWIG_HXX_
#define _GeometryGUI_SWIG_HXX_
+#include "GEOM_GEOMGUI.hxx"
+
// IDL Headers
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(GEOM_Gen)
#include CORBA_SERVER_HEADER(SALOMEDS)
#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMGUI_WNT_EXPORT
-#endif
-
class GEOM_Client;
-class GEOMGUI_WNT_EXPORT GEOM_Swig
+class GEOMGUI_EXPORT GEOM_Swig
{
public:
GEOM_Swig();
#ifndef _GEOMImpl_GEN_HXX_
#define _GEOMImpl_GEN_HXX_
+#include <GEOM_GEOMImpl.hxx>
+
#include <map>
#include "GEOMImpl_IBasicOperations.hxx"
#include "GEOMImpl_IGroupOperations.hxx"
#include "GEOM_Engine.hxx"
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-class SALOME_WNT_EXPORT GEOMImpl_Gen : public GEOM_Engine
+class GEOMIMPL_EXPORT GEOMImpl_Gen : public GEOM_Engine
{
public:
GEOMImpl_Gen();
--- /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_GEOMImpl.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_GEOMImpl_HXX_
+#define _GEOM_GEOMImpl_HXX_
+
+#ifdef WNT
+ #if defined GEOMIMPL_EXPORTS
+ #if defined WIN32
+ #define GEOMIMPL_EXPORT __declspec( dllexport )
+ #else
+ #define GEOMIMPL_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOMIMPL_EXPORT __declspec( dllimport )
+ #else
+ #define GEOMIMPL_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOMIMPL_EXPORT
+#endif
+
+#endif
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+GEOMTOOLSGUI_EXPORT
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return new GEOMToolsGUI( parent );
#ifndef GEOMTOOLSGUI_H
#define GEOMTOOLSGUI_H
+#include "GEOM_ToolsGUI.hxx"
+
#include "GEOMGUI.h"
#include <SALOMEDSClient.hxx>
#include <SALOME_ListIO.hxx>
#include <CORBA.h>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMTOOLSGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMTOOLSGUI_WNT_EXPORT
-#endif
+
//=================================================================================
// class : GEOMToolsGUI
// purpose :
//=================================================================================
-class GEOMTOOLSGUI_WNT_EXPORT GEOMToolsGUI : public GEOMGUI
+class GEOMTOOLSGUI_EXPORT GEOMToolsGUI : public GEOMGUI
{
public :
GEOMToolsGUI( GeometryGUI* ); // hide constructor to avoid direct creation
#ifndef GEOMToolsGUI_NAMEDLG_H
#define GEOMToolsGUI_NAMEDLG_H
+#include "GEOM_ToolsGUI.hxx"
+
#include <qdialog.h>
class QLineEdit;
// class : GEOMToolsGUI_NameDlg
// purpose : Common <Rename> dialog box class
//=================================================================================
-class GEOMToolsGUI_NameDlg : public QDialog
+class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_NameDlg : public QDialog
{
Q_OBJECT
#ifndef GEOMTOOLSGUI_NBISOSDLG_H
#define GEOMTOOLSGUI_NBISOSDLG_H
+#include "GEOM_ToolsGUI.hxx"
+
#include <qdialog.h>
class QSpinBox;
// class : GEOMToolsGUI_NbIsosDlg
// purpose :
//=================================================================================
-class GEOMToolsGUI_NbIsosDlg : public QDialog
+class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_NbIsosDlg : public QDialog
{
Q_OBJECT
#ifndef DIALOGBOX_TRANSPARENCYDLG_H
#define DIALOGBOX_TRANSPARENCYDLG_H
+#include "GEOM_ToolsGUI.hxx"
+
#include <qdialog.h>
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define GEOMTOOLSGUI_WNT_EXPORT __declspec( dllexport )
-#else
-#define GEOMTOOLSGUI_WNT_EXPORT
-#endif
+
class QSlider;
//=================================================================================
// purpose :
// : WARNING : that is a MODAL dialog.
//=================================================================================
-class GEOMTOOLSGUI_WNT_EXPORT GEOMToolsGUI_TransparencyDlg : public QDialog
+class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_TransparencyDlg : public QDialog
{
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_ToolsGUI.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_ToolsGUI_HXX_
+#define _GEOM_ToolsGUI_HXX_
+
+#ifdef WNT
+ #if defined GEOMTOOLSGUI_EXPORTS
+ #if defined WIN32
+ #define GEOMTOOLSGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOMTOOLSGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOMTOOLSGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOMTOOLSGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOMTOOLSGUI_EXPORT
+#endif
+
+#endif
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+GENERATIONGUI_EXPORT
GEOMGUI* GetLibGUI(GeometryGUI* parent)
{
return GenerationGUI::GetGenerationGUI(parent);
#ifndef GENERATIONGUI_H
#define GENERATIONGUI_H
+#ifdef WNT
+ #if defined GENERATIONGUI_EXPORTS
+ #if defined WIN32
+ #define GENERATIONGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GENERATIONGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GENERATIONGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GENERATIONGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GENERATIONGUI_EXPORT
+#endif
+
#include "GEOMGUI.h"
//=================================================================================
// class : GenerationGUI
// purpose :
//=================================================================================
-class GenerationGUI : public GEOMGUI
+class GENERATIONGUI_EXPORT GenerationGUI : public GEOMGUI
{
protected:
GenerationGUI(GeometryGUI* parent); // hide constructor to avoid direct creation
#ifndef DIALOGBOX_FILLING_H
#define DIALOGBOX_FILLING_H
+#include "GenerationGUI.h"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel5Spin.h"
// class : GenerationGUI_FillingDlg
// purpose :
//=================================================================================
-class GenerationGUI_FillingDlg : public GEOMBase_Skeleton
+class GENERATIONGUI_EXPORT GenerationGUI_FillingDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_PIPE_H
#define DIALOGBOX_PIPE_H
+#include "GenerationGUI.h"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel_QTD.h"
// class : GenerationGUI_PipeDlg
// purpose :
//=================================================================================
-class GenerationGUI_PipeDlg : public GEOMBase_Skeleton
+class GENERATIONGUI_EXPORT GenerationGUI_PipeDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_PRISM_H
#define DIALOGBOX_PRISM_H
+#include "GenerationGUI.h"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel1Spin2Check.h"
// class : GenerationGUI_PrismDlg
// purpose :
//=================================================================================
-class GenerationGUI_PrismDlg : public GEOMBase_Skeleton
+class GENERATIONGUI_EXPORT GenerationGUI_PrismDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_REVOLUTION_H
#define DIALOGBOX_REVOLUTION_H
+#include "GenerationGUI.h"
+
#include "GEOMBase_Skeleton.h"
#include "DlgRef_2Sel1Spin2Check.h"
// class : GenerationGUI_RevolDlg
// purpose :
//=================================================================================
-class GenerationGUI_RevolDlg : public GEOMBase_Skeleton
+class GENERATIONGUI_EXPORT GenerationGUI_RevolDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#include <TopoDS_Shape.hxx>
#ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined IGESEXPORT_EXPORTS
+ #if defined WIN32
+ #define IGESEXPORT_EXPORT __declspec( dllexport )
+ #else
+ #define IGESEXPORT_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define IGESEXPORT_EXPORT __declspec( dllimport )
+ #else
+ #define IGESEXPORT_EXPORT
+ #endif
+ #endif
#else
-#define SALOME_WNT_EXPORT
+ #define IGESEXPORT_EXPORT
#endif
//=============================================================================
extern "C"
{
-SALOME_WNT_EXPORT
+IGESEXPORT_EXPORT
int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
{
MESSAGE("Export IGES into file " << theFileName.ToCString());
#include <TopoDS_Shape.hxx>
#ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined IGESIMPORT_EXPORTS
+ #if defined WIN32
+ #define IGESIMPORT_EXPORT __declspec( dllexport )
+ #else
+ #define IGESIMPORT_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define IGESIMPORT_EXPORT __declspec( dllimport )
+ #else
+ #define IGESIMPORT_EXPORT
+ #endif
+ #endif
#else
-#define SALOME_WNT_EXPORT
+ #define IGESIMPORT_EXPORT
#endif
//=============================================================================
extern "C"
{
-SALOME_WNT_EXPORT
+IGESIMPORT_EXPORT
TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
TCollection_AsciiString& theError)
{
--- /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_MeasureGUI.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_MeasureGUI_HXX_
+#define _GEOM_MeasureGUI_HXX_
+
+#ifdef WNT
+ #if defined MEASUREGUI_EXPORTS
+ #if defined WIN32
+ #define GEOM_MEASUREGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_MEASUREGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_MEASUREGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_MEASUREGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_MEASUREGUI_EXPORT
+#endif
+
+#endif
//=====================================================================================
extern "C"
{
-#ifdef WNT
- __declspec( dllexport )
-#endif
+GEOM_MEASUREGUI_EXPORT
GEOMGUI* GetLibGUI( GeometryGUI* parent )
{
return MeasureGUI::GetMeasureGUI( parent );
#ifndef MEASUREGUI_H
#define MEASUREGUI_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "GEOMGUI.h"
//=================================================================================
// class : MeasureGUI
// purpose :
//=================================================================================
-class MeasureGUI : public GEOMGUI
+class GEOM_MEASUREGUI_EXPORT MeasureGUI : public GEOMGUI
{
protected:
MeasureGUI( GeometryGUI* parent );
#ifndef MEASUREGUI_1SEL12LINEEDIT_QTD_H
#define MEASUREGUI_1SEL12LINEEDIT_QTD_H
+#include "GEOM_MeasureGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-class MeasureGUI_1Sel12LineEdit_QTD : public QWidget
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_1Sel12LineEdit_QTD : public QWidget
{
Q_OBJECT
#ifndef MEASUREGUI_1SEL1TEXTVIEW_QTD_H
#define MEASUREGUI_1SEL1TEXTVIEW_QTD_H
+#include "GEOM_MeasureGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QPushButton;
class QTextEdit;
-class MeasureGUI_1Sel1TextView_QTD : public QWidget
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_1Sel1TextView_QTD : public QWidget
{
Q_OBJECT
#ifndef MEASUREGUI_1SEL3LINEEDIT_QTD_H
#define MEASUREGUI_1SEL3LINEEDIT_QTD_H
+#include "GEOM_MeasureGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-class MeasureGUI_1Sel3LineEdit_QTD : public QWidget
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_1Sel3LineEdit_QTD : public QWidget
{
Q_OBJECT
#ifndef MEASUREGUI_1SEL6LINEEDIT_QTD_H
#define MEASUREGUI_1SEL6LINEEDIT_QTD_H
+#include "GEOM_MeasureGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-class MeasureGUI_1Sel6LineEdit_QTD : public QWidget
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_1Sel6LineEdit_QTD : public QWidget
{
Q_OBJECT
#ifndef MEASUREGUI_2SEL1LINEEDIT_QTD_H
#define MEASUREGUI_2SEL1LINEEDIT_QTD_H
+#include "GEOM_MeasureGUI.hxx"
+
#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout;
class QLineEdit;
class QPushButton;
-class MeasureGUI_2Sel1LineEdit_QTD : public QWidget
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_2Sel1LineEdit_QTD : public QWidget
{
Q_OBJECT
#ifndef DIALOGBOX_BNDBOX_H
#define DIALOGBOX_BNDBOX_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class MeasureGUI_1Sel6LineEdit_QTD;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : DialogBox_PROPERTIES
// purpose :
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_BndBoxDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_BndBoxDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_CMASS_H
#define DIALOGBOX_CMASS_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "GEOMBase_Skeleton.h"
class MeasureGUI_1Sel3LineEdit_QTD;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : MeasureGUI_CenterMassDlg
// purpose :
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_CenterMassDlg : public GEOMBase_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_CenterMassDlg : public GEOMBase_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_CHECKCOMPOUNDOFBLOCKSDLG_H
#define DIALOGBOX_CHECKCOMPOUNDOFBLOCKSDLG_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class MeasureGUI_1Sel1TextView_QTD;
class QListBox;
class QLabel;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : MeasureGUI_CheckCompoundOfBlocksDlg
// purpose :
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_CheckCompoundOfBlocksDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_CheckCompoundOfBlocksDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_CHECKSHAPEDLG_H
#define DIALOGBOX_CHECKSHAPEDLG_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class MeasureGUI_1Sel1TextView_QTD;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : MeasureGUI_CheckShapeDlg
// purpose :
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_CheckShapeDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_CheckShapeDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_DISTANCE_H
#define DIALOGBOX_DISTANCE_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class MeasureGUI_2Sel1LineEdit_QTD;
class gp_Pnt;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : MeasureGUI_DistanceDlg
// purpose :
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_DistanceDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_DistanceDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_INERTIA_H
#define DIALOGBOX_INERTIA_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class MeasureGUI_1Sel12LineEdit_QTD;
class gp_XYZ;
class gp_Mat;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : MeasureGUI_InertiaDlg
// purpose : Dialog for displaying moment of inertia
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_InertiaDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_InertiaDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_MAXTOLERANCE_H
#define DIALOGBOX_MAXTOLERANCE_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class MeasureGUI_1Sel6LineEdit_QTD;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : DialogBox_PROPERTIES
// purpose :
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_MaxToleranceDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_MaxToleranceDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef MEASUREGUI_POINTDLG_H
#define MEASUREGUI_POINTDLG_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class QLineEdit;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : MeasureGUI_PointDlg
// purpose : Dialog for displaying point coordinates
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_PointDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_PointDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef DIALOGBOX_PROPERTIES_H
#define DIALOGBOX_PROPERTIES_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class MeasureGUI_1Sel3LineEdit_QTD;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : MeasureGUI_PropertiesDlg
// purpose : Dialog for displaying length, area and volume
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_PropertiesDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_PropertiesDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef MEASUREGUI_SKELETON_H
#define MEASUREGUI_SKELETON_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton_QTD.h"
#include "GEOMBase_Helper.h"
class QPushButton;
class GEOM_Displayer;
-class MeasureGUI_Skeleton : public MeasureGUI_Skeleton_QTD,
- public GEOMBase_Helper
+class GEOM_MEASUREGUI_EXPORT
+ MeasureGUI_Skeleton : public MeasureGUI_Skeleton_QTD,
+ public GEOMBase_Helper
{
Q_OBJECT
#ifndef MEASUREGUI_SKELETON_QTD_H
#define MEASUREGUI_SKELETON_QTD_H
+#include "GEOM_MeasureGUI.hxx"
+
#include <qvariant.h>
#include <qdialog.h>
class QVBoxLayout;
class QPushButton;
class QRadioButton;
-class MeasureGUI_Skeleton_QTD : public QDialog
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_Skeleton_QTD : public QDialog
{
Q_OBJECT
#ifndef DIALOGBOX_WHATIS_H
#define DIALOGBOX_WHATIS_H
+#include "GEOM_MeasureGUI.hxx"
+
#include "MeasureGUI_Skeleton.h"
class MeasureGUI_1Sel1TextView_QTD;
-#if defined WNT && defined MEASUREGUI_EXPORTS
-#define MEASUREGUI_EXPORT __declspec( dllexport )
-#else
-#define MEASUREGUI_EXPORT
-#endif
-
//=================================================================================
// class : DialogBox_PROPERTIES
// purpose :
//=================================================================================
-class MEASUREGUI_EXPORT MeasureGUI_WhatisDlg : public MeasureGUI_Skeleton
+class GEOM_MEASUREGUI_EXPORT MeasureGUI_WhatisDlg : public MeasureGUI_Skeleton
{
Q_OBJECT
#ifndef _GEOM_AISShape_HeaderFile
#define _GEOM_AISShape_HeaderFile
+#include "GEOM_OBJECT_defs.hxx"
+
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
class SALOME_InteractiveObject;
class TopoDS_Shape;
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define OBJECT_WNT_EXPORT __declspec( dllexport )
-#else
-#define OBJECT_WNT_EXPORT
-#endif
-class OBJECT_WNT_EXPORT GEOM_AISShape : public SALOME_AISShape {
+class GEOM_OBJECT_EXPORT GEOM_AISShape : public SALOME_AISShape {
public:
#ifndef GEOM_ACTOR_H
#define GEOM_ACTOR_H
+#include "GEOM_OBJECT_defs.hxx"
+
#include "SALOME_Actor.h"
//OpenCASCADE
class vtkCamera;
class TopoDS_Shape;
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-class SALOME_WNT_EXPORT GEOM_Actor : public SALOME_Actor {
+class GEOM_OBJECT_EXPORT GEOM_Actor : public SALOME_Actor {
public:
vtkTypeMacro(GEOM_Actor,SALOME_Actor);
// Module : GEOM
// $Header$
+#include "GEOM_OBJECT_defs.hxx"
+
#include <vtkAssembly.h>
#include <vtkPropAssembly.h>
#include <vtkActorCollection.h>
#include <TopoDS.hxx>
#include <TopoDS_Shape.hxx>
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-class SALOME_WNT_EXPORT GEOM_AssemblyBuilder {
+class GEOM_OBJECT_EXPORT GEOM_AssemblyBuilder {
private:
--- /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_OBJECT_defs.hxx
+// Author : Alexander A. BORODIN
+// Module : GEOM
+
+#ifndef _GEOM_OBJECT_defs_HXX_
+#define _GEOM_OBJECT_defs_HXX_
+
+#ifdef WNT
+ #if defined OBJECT_EXPORTS
+ #if defined WIN32
+ #define GEOM_OBJECT_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_OBJECT_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_OBJECT_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_OBJECT_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_OBJECT_EXPORT
+#endif
+
+#endif
#ifndef GEOM_OCCREADER_H
#define GEOM_OCCREADER_H
+#include "GEOM_OBJECT_defs.hxx"
+
#include <vtkPolyDataSource.h>
class vtkPoints;
#include <GeomAbs_IsoType.hxx>
#include <BRepAdaptor_Surface.hxx>
-#ifdef _WIN_32
-#define VTKOCC_EXPORT __declspec (dllexport)
-#else
-#define VTKOCC_EXPORT
-#endif
-
-class VTKOCC_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
+class GEOM_OBJECT_EXPORT GEOM_OCCReader : public vtkPolyDataSource {
// methods
#ifndef GEOM_VTKTrihedron_H
#define GEOM_VTKTrihedron_H
+#include "GEOM_OBJECT_defs.hxx"
+
#include <Geom_Axis2Placement.hxx>
#include "SALOME_Actor.h"
#include "VTKViewer_Trihedron.h"
-#ifdef WNT
-#include <SALOME_WNT.hxx>
-#else
-#define SALOME_WNT_EXPORT
-#endif
-
-
class vtkActorCollection;
class vtkRenderer;
class vtkPolyDataMapper;
Placement of trihedron is chahged with SetPlacement() method
*/
-class SALOME_WNT_EXPORT GEOM_VTKTrihedron : public SALOME_Actor
+class GEOM_OBJECT_EXPORT GEOM_VTKTrihedron : public SALOME_Actor
{
protected:
GEOM_InteractiveObject.hxx \
Handle_GEOM_InteractiveObject.hxx \
GEOM_AISTrihedron.hxx \
- GEOM_VTKTrihedron.hxx
+ GEOM_VTKTrihedron.hxx \
+ GEOM_OBJECT.hxx
# Libraries targets
// Module : GEOM
// $Header$
-using namespace std;
#include "Partition_Inter2d.ixx"
#include "utilities.h"
static Standard_Integer NbE2d = 0;
#endif
+using namespace std;
+
//=======================================================================
//function : getOtherShape
//purpose :
// Module : GEOM
// $Header$
-using namespace std;
#include "Partition_Inter2d.hxx"
#include "Partition_Inter3d.ixx"
#include "utilities.h"
#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
#include <stdio.h>
+using namespace std;
+
//=======================================================================
//function : Partition_Inter3d
//purpose :
// Module : GEOM
// $Header$
-using namespace std;
#include <stdio.h>
#include "Partition_Loop.ixx"
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
+using namespace std;
+
static char* name = new char[100];
static int nbe = 0;
// Module : GEOM
// $Header$
-using namespace std;
#include "Partition_Loop2d.ixx"
#include "utilities.h"
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
+using namespace std;
+
//=======================================================================
//function : Partition_Loop2d
//purpose :
// File : Partition_Loop3d.cxx
// Module : GEOM
-using namespace std;
#include "Partition_Loop3d.ixx"
#include <TopExp_Explorer.hxx>
#include <gp_Dir2d.hxx>
#include <Geom_Curve.hxx>
+using namespace std;
+
//=======================================================================
//function : Partition_Loop3d
//purpose :
// Module : GEOM
// $Header$
-using namespace std;
#include "Partition_Inter2d.hxx"
#include "Partition_Inter3d.hxx"
#include "Partition_Loop2d.hxx"
# include <OSD_Chronometer.hxx>
#endif
+using namespace std;
+
//=======================================================================
//function : isClosed
//purpose : check id a shape is closed, ie is a solid or a closed shell
#include <TopoDS_Shape.hxx>
#ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined STEPEXPORT_EXPORTS
+ #if defined WIN32
+ #define STEPEXPORT_EXPORT __declspec( dllexport )
+ #else
+ #define STEPEXPORT_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define STEPEXPORT_EXPORT __declspec( dllimport )
+ #else
+ #define STEPEXPORT_EXPORT
+ #endif
+ #endif
#else
-#define SALOME_WNT_EXPORT
+ #define STEPEXPORT_EXPORT
#endif
//=============================================================================
extern "C"
{
-SALOME_WNT_EXPORT
+STEPEXPORT_EXPORT
int Export(const TopoDS_Shape& theShape, const TCollection_AsciiString& theFileName)
{
MESSAGE("Export STEP into file " << theFileName.ToCString());
#include <Standard_ErrorHandler.hxx> // CAREFUL ! position of this file is critic : see Lucien PIGNOLONI / OCC
#ifdef WNT
-#include <SALOME_WNT.hxx>
+ #if defined STEPEXPORT_IMPORTS
+ #if defined WIN32
+ #define STEPEXPORT_IMPORT __declspec( dllexport )
+ #else
+ #define STEPEXPORT_IMPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define STEPEXPORT_IMPORT __declspec( dllimport )
+ #else
+ #define STEPEXPORT_IMPORT
+ #endif
+ #endif
#else
-#define SALOME_WNT_EXPORT
+ #define STEPEXPORT_IMPORT
#endif
//=============================================================================
extern "C"
{
-SALOME_WNT_EXPORT
+STEPEXPORT_IMPORT
TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
TCollection_AsciiString& theError)
{