]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To make possible to introduce new type of viewer
authorapo <apo@opencascade.com>
Tue, 6 Sep 2005 04:42:33 +0000 (04:42 +0000)
committerapo <apo@opencascade.com>
Tue, 6 Sep 2005 04:42:33 +0000 (04:42 +0000)
src/VISUGUI/VisuGUI.cxx
src/VISUGUI/VisuGUI.h

index fe36604aec67195832af678f88d9e715fe60ae9e..80b469c3e7d975daa6c851a139e949c0fad235ca 100644 (file)
@@ -2885,3 +2885,12 @@ void VisuGUI::createPreferences()
 void VisuGUI::preferencesChanged( const QString&, const QString& )
 {
 }
+
+SUIT_ViewManager*
+VisuGUI
+::getViewManager(const QString& theType, 
+                const bool theIsCreate)
+{
+  return getApp()->getViewManager(theType,theIsCreate);
+}
+
index adef19954444de15e23e157886a71857040febf9..5e71f88fd6766f5aa161c035e2ee1db621088542 100644 (file)
@@ -31,6 +31,8 @@
 
 #include "SalomeApp_Module.h"
 
+class SUIT_ViewManager;
+
 class VisuGUI: public SalomeApp_Module
 {
   Q_OBJECT;
@@ -53,6 +55,11 @@ public:
   virtual void createPreferences();
   virtual void preferencesChanged( const QString&, const QString& );
 
+  virtual
+  SUIT_ViewManager*
+  getViewManager(const QString& theType, 
+                const bool theIsCreate);
+
 public slots:
   virtual bool deactivateModule( SUIT_Study* );
   virtual bool activateModule( SUIT_Study* );