Salome HOME
Export methods for WIN32
authorabd <abd@opencascade.com>
Tue, 25 Apr 2006 12:57:29 +0000 (12:57 +0000)
committerabd <abd@opencascade.com>
Tue, 25 Apr 2006 12:57:29 +0000 (12:57 +0000)
src/StdMeshersGUI/SMESH_StdMeshersGUI.hxx [new file with mode: 0755]
src/StdMeshersGUI/StdMeshersGUI.cxx
src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h
src/StdMeshersGUI/StdMeshersGUI_DistrTable.h
src/StdMeshersGUI/StdMeshersGUI_NbSegmentsCreator.h
src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.h

diff --git a/src/StdMeshersGUI/SMESH_StdMeshersGUI.hxx b/src/StdMeshersGUI/SMESH_StdMeshersGUI.hxx
new file mode 100755 (executable)
index 0000000..67b4638
--- /dev/null
@@ -0,0 +1,40 @@
+//  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   : SMESH_StdMeshersGUI.hxx
+//  Author : Alexander BORODIN
+//  Module : SMESH
+//  $Header: 
+
+#ifndef _SMESH_StdMeshersGUI_HXX_
+#define _SMESH_StdMeshersGUI_HXX_
+
+#ifdef WNT
+ #if defined STDMESHERSGUI_EXPORTS
+  #define STDMESHERSGUI_EXPORT __declspec( dllexport )
+ #else
+  #define STDMESHERSGUI_EXPORT __declspec( dllimport )
+ #endif
+#else
+ #define STDMESHERSGUI_EXPORT
+#endif
+
+#endif
\ No newline at end of file
index a507f6d7b630d3067af978775d9311702f41cac6..50904baa9249f881b498f0adf3e351239c50dbea 100644 (file)
 //  Module : SMESH
 //  $Header$
 
+#include "SMESH_StdMeshersGUI.hxx"
+
 #include "StdMeshersGUI_StdHypothesisCreator.h"
 #include "StdMeshersGUI_NbSegmentsCreator.h"
 
+
 //=============================================================================
 /*! GetHypothesisCreator
  *
@@ -35,6 +38,7 @@
 //=============================================================================
 extern "C"
 {
+ STDMESHERSGUI_EXPORT
   SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator( const QString& aHypType )
   {
     if( aHypType=="NumberOfSegments" )
index 2246588236c3f461e890da3577efd6d32876435f..88768a8a0efbfd2b9ab7a285f54a5b964c5e4052 100644 (file)
@@ -2,6 +2,8 @@
 #ifndef STD_MESHERS_GUI_DISTR_PREVIEW_HEADER
 #define STD_MESHERS_GUI_DISTR_PREVIEW_HEADER
 
+#include "SMESH_StdMeshersGUI.hxx"
+
 #include <qwt_plot.h>
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(SMESH_Mesh)
@@ -10,7 +12,7 @@
 #include <Expr_Array1OfNamedUnknown.hxx>
 #include <TColStd_Array1OfReal.hxx>
 
-class StdMeshersGUI_DistrPreview : public QwtPlot
+class STDMESHERSGUI_EXPORT StdMeshersGUI_DistrPreview : public QwtPlot
 {
   Q_OBJECT
 
index a6f7f6106c3f9a075a7eeae70a09c511438d9ac0..32e336e2e6922d9372b1b0b025831269dd86244a 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef StdMesherGUI_DistrTable_Header
 #define StdMesherGUI_DistrTable_Header
 
+#include "SMESH_StdMeshersGUI.hxx"
+
 #include <qtable.h>
 
 #include <SALOMEconfig.h>
@@ -45,7 +47,7 @@ typedef enum { INSERT_ROW, REMOVE_ROW } TableButton;
  *  \brief This class represents custom table. It has only double values and
     editor for every cell has validator
  */
-class StdMeshersGUI_DistrTable : public QTable
+class STDMESHERSGUI_EXPORT StdMeshersGUI_DistrTable : public QTable
 {
   Q_OBJECT
   
@@ -86,7 +88,7 @@ private:
 /*!
  *  \brief This class represents frame for table and buttons
  */
-class StdMeshersGUI_DistrTableFrame : public QFrame
+class STDMESHERSGUI_EXPORT StdMeshersGUI_DistrTableFrame : public QFrame
 {
   Q_OBJECT
 
index 6d902fe801943b5e46ebd1b1a2f6ee71053c3726..df7989c4e6164f263e3b27423d840d2aa8cdc792 100644 (file)
@@ -2,6 +2,8 @@
 #ifndef NB_SEGMENTS_CREATOR_HEADER
 #define NB_SEGMENTS_CREATOR_HEADER
 
+#include "SMESH_StdMeshersGUI.hxx"
+
 #include "StdMeshersGUI_StdHypothesisCreator.h"
 
 #include <SALOMEconfig.h>
@@ -26,7 +28,7 @@ typedef struct
 
 } NbSegmentsHypothesisData;
 
-class StdMeshersGUI_NbSegmentsCreator : public StdMeshersGUI_StdHypothesisCreator
+class STDMESHERSGUI_EXPORT StdMeshersGUI_NbSegmentsCreator : public StdMeshersGUI_StdHypothesisCreator
 {
   Q_OBJECT
 
index 216324cabca54d45b82164a137f95109e74aa182..752ba403fe58990c786d3fc2268b990dd17eb73c 100644 (file)
 #ifndef STDMESHERSGUI_StdHypothesisCreator_HeaderFile
 #define STDMESHERSGUI_StdHypothesisCreator_HeaderFile
 
+#include "SMESH_StdMeshersGUI.hxx"
+
 #include <SMESHGUI_Hypotheses.h>
 
 /*!
  * \brief Class for creation of simple hypotheses (only set of parameters without dependencies)
 */
-class StdMeshersGUI_StdHypothesisCreator : public SMESHGUI_GenericHypothesisCreator
+class STDMESHERSGUI_EXPORT StdMeshersGUI_StdHypothesisCreator : public SMESHGUI_GenericHypothesisCreator
 {
   Q_OBJECT