Salome HOME
refs #640: correct width for non-georeferenced profile
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportPolylineOp.h
index 4e7a066e808a62d7edba884661740035f54798f4..01ea70a7ca8717ed8e34268848ce0bcb70ed9633 100644 (file)
 #include "HYDROGUI_Operation.h"
 #include <vector>
 
+#include <NCollection_Sequence.hxx>
+
 class SUIT_FileDlg;
-class QFile;
-class gp_XYZ;
-struct HYDROGUI_CurveBlock
-{
-  std::vector<gp_XYZ> myXYZPoints;
-  bool myType;
-  bool myIsConnected;
-  bool myIsClosed;
-  int myCurvePlane;
-  QString myName;
-};
+class Handle_HYDROData_Entity;
 
 class HYDROGUI_ImportPolylineOp : public HYDROGUI_Operation
 {
@@ -50,11 +42,10 @@ public:
 protected:
   virtual void startOperation();
   virtual void onApply();
-  virtual void Process();
-  bool Parse( QFile&  theFile );
+  void UpdateView( NCollection_Sequence<Handle_HYDROData_Entity>& anEntities);
+
 private:
   SUIT_FileDlg* myFileDlg;
-  std::vector<HYDROGUI_CurveBlock> myCurveBlocks;
 };
 
 #endif