]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
SUPERVGRAPH_EXPORT added for windows compilation
authorsln <sln@opencascade.com>
Tue, 8 Nov 2005 15:58:04 +0000 (15:58 +0000)
committersln <sln@opencascade.com>
Tue, 8 Nov 2005 15:58:04 +0000 (15:58 +0000)
src/SUPERVGraph/SUPERVGraph.h
src/SUPERVGraph/SUPERVGraph_ViewFrame.h
src/SUPERVGraph/SUPERVGraph_ViewManager.h
src/SUPERVGraph/SUPERVGraph_ViewModel.h

index d2d83794e5153775d16272b619c3a2e495703f22..599857d00913979a5515e25686d6ac3049831ac1 100755 (executable)
 #include "SUIT_Desktop.h"
 #include "SUIT_ViewWindow.h"
 
-class SUPERVGraph : public QObject
+#ifdef WNT
+#ifdef SUPERVGRAPH_EXPORTS
+#define SUPERVGRAPH_EXPORT __declspec(dllexport)
+#else
+#define SUPERVGRAPH_EXPORT __declspec(dllimport)
+#endif
+#else
+#define SUPERVGRAPH_EXPORT
+#endif
+
+#if defined WNT
+#pragma warning ( disable: 4251 )
+#endif
+
+class SUPERVGRAPH_EXPORT SUPERVGraph : public QObject
 {
   Q_OBJECT
 
index 351241aa8939a9c004e859a5707155855c17625c..ea0bf5629dcff6e12fa83db140133183ee6e0f15 100755 (executable)
 #ifndef SUPERVGraph_ViewFrame_H
 #define SUPERVGraph_ViewFrame_H
 
+#include "SUPERVGraph.h"
+
 #include "SALOME_InteractiveObject.hxx"
 #include "SUIT_PopupClient.h"
 #include "SUIT_ViewWindow.h"
 
-class /*SUPERVGRAPH_EXPORT*/ SUPERVGraph_View: public QWidget, public SUIT_PopupClient {
+class SUPERVGRAPH_EXPORT SUPERVGraph_View: public QWidget, public SUIT_PopupClient {
   Q_OBJECT;
  public:
   static QString Type() { return "SUPERVGraphViewer"; }
@@ -55,7 +57,7 @@ class /*SUPERVGRAPH_EXPORT*/ SUPERVGraph_View: public QWidget, public SUIT_Popup
   
 };
 
-class /*SUPERVGRAPH_EXPORT*/ SUPERVGraph_ViewFrame : public SUIT_ViewWindow {
+class SUPERVGRAPH_EXPORT SUPERVGraph_ViewFrame : public SUIT_ViewWindow {
   Q_OBJECT
 
     public:
index 9ffb49f67cb3fd76822a7d40e979ddcc8fb4262d..9e023c2547a31a1157409c4940745493d6e765be 100644 (file)
@@ -1,12 +1,14 @@
 #ifndef SUPERVGRAPH_VIEWMANAGER_H
 #define SUPERVGRAPH_VIEWMANAGER_H
 
+#include "SUPERVGraph.h"
+
 #include "SUPERVGraph_ViewModel.h"
 #include "SUIT_ViewManager.h"
 
 class SUIT_Desktop;
 
-class /*SUPERVGRAPH_EXPORT*/ SUPERVGraph_ViewManager : public SUIT_ViewManager
+class SUPERVGRAPH_EXPORT SUPERVGraph_ViewManager : public SUIT_ViewManager
 {
   Q_OBJECT
 
index ab817dae7a61d4079169b5b06f761d7136d184f1..559be8b40fe6a0bd80a3d869df9473709aea6de5 100644 (file)
@@ -1,9 +1,11 @@
 #ifndef SUPERVGRAPH_VIEWMODEL_H
 #define SUPERVGRAPH_VIEWMODEL_H
 
+#include "SUPERVGraph.h"
+
 #include "SUIT_ViewModel.h"
 
-class /*SUPERVGRAPH_EXPORT*/ SUPERVGraph_Viewer: public SUIT_ViewModel
+class SUPERVGRAPH_EXPORT SUPERVGraph_Viewer: public SUIT_ViewModel
 {
   Q_OBJECT