Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileOp.h
index 62df8afcd28d925e3d10af0bfd3f8834d41c61b2..d93311a1da5cc6c40cd325da9e0c2e70af334d4e 100644 (file)
@@ -27,8 +27,7 @@
 
 #include <HYDROData_Profile.h>
 
-//class OCCViewer_ViewManager;
-class CurveCreator_Curve;
+class CurveCreator_Profile;
 
 class HYDROGUI_ProfileOp : public HYDROGUI_Operation
 {
@@ -48,21 +47,17 @@ protected:
 
   virtual HYDROGUI_InputPanel* createInputPanel() const;
 
-  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
-
-//protected slots:
-//  void                       onEditorSelectionChanged();
-
-//private:
-  //void                       displayPreview();
-  //void                       erasePreview();
+  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg,
+                                           QStringList& theBrowseObjectsEntries );
 
 private:
-  //OCCViewer_ViewManager*     myViewManager;
+  void                       displayPreview();
+  void                       erasePreview();
 
+private:
   bool                       myIsEdit;
-  Handle(HYDROData_Profile) myEditedObject;
-  CurveCreator_Curve*        myCurve;
+  Handle(HYDROData_Profile)  myEditedObject;
+  CurveCreator_Profile*      myProfile;
 };
 
 #endif