]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketcherPrs/SketcherPrs_DimensionStyle.h
Salome HOME
Fix compilation warnings
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_DimensionStyle.h
index 4e2f96882f1e144175313bcf1549f0eb44477507..00080ef40e4a0fe30f58ef87e515820ebca571ff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -23,6 +23,7 @@
 //#include <Events_Listener.h>
 
 #include <ModelAPI_AttributeDouble.h>
+#include <PrsDim_Dimension.hxx>
 
 #include "SketcherPrs_Tools.h"
 
@@ -62,7 +63,7 @@ public:
   /// Visualizes the dimension text or dimension value depending on the has parameters state
   /// \param theDimension a modified dimension
   /// \param theDimensionValue container filled by the model double attribute
-  Standard_EXPORT void updateDimensions(AIS_Dimension* theDimension,
+  Standard_EXPORT void updateDimensions(PrsDim_Dimension* theDimension,
                                         const DimensionValue& theDimensionValue);
 
 private:
@@ -71,7 +72,7 @@ private:
   /// \param theHasParameters if true, the text is shown, else digit
   /// \param theTextValue a dimension text value
   /// \param theDoubleValue a dimension digit value
-  void updateDimensions(AIS_Dimension* theDimension,
+  void updateDimensions(PrsDim_Dimension* theDimension,
                         const bool theHasParameters,
                         const std::string& theTextValue,
                         const double theDoubleValue);