X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_HVDirection.h;h=9f6204d2841dda5230b538c365e8f05023264d27;hb=a5746a7f8fd8bcd555fb16f98e312c86ca1210da;hp=96432d23071a59be989deb477bde3205a5333bed;hpb=9bea53a5d0fc5c6aec52f4732ec45a9dcbe7354d;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_HVDirection.h b/src/SketcherPrs/SketcherPrs_HVDirection.h index 96432d230..9f6204d28 100644 --- a/src/SketcherPrs/SketcherPrs_HVDirection.h +++ b/src/SketcherPrs/SketcherPrs_HVDirection.h @@ -8,9 +8,7 @@ #define SketcherPrs_HVDirection_H #include "SketcherPrs_SymbolPrs.h" - -class SketchPlugin_Constraint; -class SketchPlugin_Sketch; +#include DEFINE_STANDARD_HANDLE(SketcherPrs_HVDirection, SketcherPrs_SymbolPrs) @@ -26,7 +24,8 @@ public: /// Constructor /// \param theConstraint a constraint feature /// \param thePlane a coordinate plane of current sketch - Standard_EXPORT SketcherPrs_HVDirection(SketchPlugin_Constraint* theConstraint, + /// \param isHorisontal a flag horizontal or vertical presentation + Standard_EXPORT SketcherPrs_HVDirection(ModelAPI_Feature* theConstraint, const std::shared_ptr& thePlane, bool isHorisontal);