Salome HOME
SUPERVGRAPH_EXPORT added for windows compilation
[modules/gui.git] / src / SUPERVGraph / SUPERVGraph.h
index 929fc291d8e6bbfd29c7df7846ab2cce3dea74ba..599857d00913979a5515e25686d6ac3049831ac1 100755 (executable)
 #ifndef SUPERVGraph_HeaderFile
 #define SUPERVGraph_HeaderFile
 
-#include "QAD_RightFrame.h"
-#include "QAD_ViewFrame.h"
+#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
 
 public :
 
-    Standard_EXPORT static QAD_ViewFrame* createView ( QAD_RightFrame* parent);
+    /*Standard_EXPORT*/ static SUIT_ViewWindow* createView ( SUIT_Desktop* parent);
   
 };