From: apo Date: Fri, 3 Nov 2006 10:08:19 +0000 (+0000) Subject: To minimize header includes X-Git-Tag: WP1_2_3_06-10-2006~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b89184c8c1b53ac5aad94795c85a66d4571395e;p=modules%2Fvisu.git To minimize header includes --- diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index 5866c6df..338267c0 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -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(); diff --git a/src/VISUGUI/VisuGUI_Slider.cxx b/src/VISUGUI/VisuGUI_Slider.cxx index 88d423e7..c295fe52 100644 --- a/src/VISUGUI/VisuGUI_Slider.cxx +++ b/src/VISUGUI/VisuGUI_Slider.cxx @@ -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 #include diff --git a/src/VISUGUI/VisuGUI_Slider.h b/src/VISUGUI/VisuGUI_Slider.h index 872b8bdc..1a7e3a2c 100644 --- a/src/VISUGUI/VisuGUI_Slider.h +++ b/src/VISUGUI/VisuGUI_Slider.h @@ -28,11 +28,13 @@ #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 + +namespace VISU +{ + class ColoredPrs3d_i; +} typedef std::vector PrsList; @@ -44,6 +46,7 @@ class QSlider; class QSpinBox; class QTimer; +class VVTK_ViewWindow; class VVTK_MainWindow; class LightApp_SelectionMgr;