Salome HOME
refs #30 - Sketch base GUI: create, draw lines
[modules/shaper.git] / src / XGUI / XGUI_SalomeConnector.h
index f6e89cf17fe5da5f3639a29771eaff0a0fc2f7df..a55398cb15ef6db5ab732f78739dd6ecd0411e4b 100644 (file)
@@ -3,11 +3,11 @@
 
 #include "XGUI.h"
 
-#include <AIS_InteractiveContext.hxx>
 #include <QString>
 #include <QStringList>
 
 class QMainWindow;
+class XGUI_SalomeViewer;
 
 /**
 * An interface which provides a connection of XGUI functionality 
@@ -73,9 +73,9 @@ public:
 
   //! Returns list of nested actions according to the given command ID
   virtual QStringList nestedActions(const QString& theId) const = 0;
-  
-  //! Returns AIS_InteractiveContext from current OCCViewer
-  virtual Handle(AIS_InteractiveContext) AISContext() const = 0;
+
+  //! Returns interface to Salome viewer
+  virtual XGUI_SalomeViewer* viewer() const = 0;
 };
 
 #endif
\ No newline at end of file