Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Tool2.h
index e39bc3f68b161ff3837b17f9b4f217ab2eb0c30a..316f2ded58b43907e06e353ba8b78a3362a6eff1 100644 (file)
@@ -33,7 +33,8 @@ class HYDROGUI_Prs;
 class SUIT_ViewManager;
 class GraphicsView_ViewPort;
 class OCCViewer_ViewFrame;
-class Handle_HYDROData_Document;
+class HYDROData_Document;
+class HYDROData_CalculationCase;
 
 namespace HYDROGUI_Tool
 {
@@ -52,7 +53,7 @@ namespace HYDROGUI_Tool
 
   HYDROData_SequenceOfObjects GetSelectedObjects( HYDROGUI_Module* theModule );
 
-  bool IsObjectHasPresentation( const Handle_HYDROData_Entity& theObject,
+  bool IsObjectHasPresentation( const Handle(HYDROData_Entity)& theObject,
                                 const QString&                 theViewerType = "" );
 
   Handle(HYDROData_Entity) GetSelectedObject( HYDROGUI_Module* theModule );
@@ -61,6 +62,9 @@ namespace HYDROGUI_Tool
 
   ObjectKind GetSelectedPartition( HYDROGUI_Module* theModule );
 
+  bool IsSelectedPartOfCalcCase( HYDROGUI_Module* theModule, Handle(HYDROData_CalculationCase)& theOutCalCase,
+                                 QString& theOutPart);
+
   Handle(HYDROData_Entity) FindObjectByName( HYDROGUI_Module* theModule,
                                              const QString& theName,
                                              const ObjectKind theObjectKind = KIND_UNKNOWN );
@@ -95,7 +99,7 @@ namespace HYDROGUI_Tool
 
   QColor GenerateFillingColor( HYDROGUI_Module* theModule, const QStringList& theZoneNames );
 
-  QColor GenerateFillingColor( const Handle_HYDROData_Document& theDoc,
+  QColor GenerateFillingColor( const Handle(HYDROData_Document)& theDoc,
                                const QStringList& theZoneNames );
 
   QStringList GetSelectedGeomObjects( HYDROGUI_Module* theModule,