]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To minimize header includes
authorapo <apo@opencascade.com>
Fri, 3 Nov 2006 10:08:19 +0000 (10:08 +0000)
committerapo <apo@opencascade.com>
Fri, 3 Nov 2006 10:08:19 +0000 (10:08 +0000)
src/VISUGUI/VisuGUI_Module.cxx
src/VISUGUI/VisuGUI_Slider.cxx
src/VISUGUI/VisuGUI_Slider.h

index 5866c6df56803960387a4b83595dfe416e5f8126..338267c07ce6134178646b0488a62c21c7773965 100644 (file)
@@ -423,7 +423,7 @@ onCreateViewManager()
   VVTK_ViewWindow* aViewWindow = ( VVTK_ViewWindow* )aViewManager->createViewWindow();
   if( aViewWindow )
   {
-    VisuGUI_Slider* aSlider = new VisuGUI_Slider( aViewWindow, anApp->selectionMgr() );
+    new VisuGUI_Slider( aViewWindow, anApp->selectionMgr() );
   }
 
   return aViewer->getViewManager();
index 88d423e7454f23917f324b4a460853c09c637c44..c295fe5255c0655cb8986b4932f11089daa2ebe7 100644 (file)
@@ -30,6 +30,8 @@
 #include "SUIT_Session.h"
 #include "SUIT_ResourceMgr.h"
 
+#include "LightApp_SelectionMgr.h"
+
 #include "SVTK_Renderer.h"
 #include "SVTK_RenderWindowInteractor.h"
 
@@ -43,6 +45,8 @@
 #include "VVTK_MainWindow.h"
 #include "VVTK_ViewWindow.h"
 
+#include "VISU_ColoredPrs3d_i.hh"
+
 #include <vtkActorCollection.h>
 #include <vtkRenderer.h>
 
index 872b8bdcae40953b897146947d0cacfa5dbeeb6e..1a7e3a2ccc3fafcdca1dec20ecab59fd3ceb8bb2 100644 (file)
 #ifndef VisuGUI_Slider_HeaderFile
 #define VisuGUI_Slider_HeaderFile
 
-#include "VisuGUI.h"
-#include "VISU_ColoredPrs3d_i.hh"
-#include "VVTK_ViewWindow.h"
-#include "LightApp_SelectionMgr.h"
 #include "QtxDockWindow.h"
+#include <vector>
+
+namespace VISU
+{
+  class ColoredPrs3d_i;
+}
 
 typedef std::vector<VISU::ColoredPrs3d_i*> PrsList;
 
@@ -44,6 +46,7 @@ class QSlider;
 class QSpinBox;
 class QTimer;
 
+class VVTK_ViewWindow;
 class VVTK_MainWindow;
 class LightApp_SelectionMgr;