From f1da3f8dedb593eb28542b24f0a09770adfd8334 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 23 Dec 2019 14:55:03 +0300 Subject: [PATCH] Transfer BreakLink from Object to Gen --- idl/GEOM_Gen.idl | 10 +++++----- src/GEOM_I/GEOM_Gen_i.hh | 3 +++ src/GEOM_I/GEOM_Object_i.hh | 2 -- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl index eac174954..1087faba2 100644 --- a/idl/GEOM_Gen.idl +++ b/idl/GEOM_Gen.idl @@ -515,11 +515,6 @@ module GEOM */ boolean IsParametrical(); - /* - * \brief Breaks links to parametrical mode for parametrical shape - */ - void BreakLinks(); - }; //# GEOM_Field @@ -5154,6 +5149,11 @@ module GEOM inout string_array theSubEntries, inout string_array theOtherEntries); + + /* + * \brief Breaks links to parametrical mode for parametrical shape + */ + void BreakLink(in string theEntry); }; }; diff --git a/src/GEOM_I/GEOM_Gen_i.hh b/src/GEOM_I/GEOM_Gen_i.hh index 6178a4847..b59041d10 100644 --- a/src/GEOM_I/GEOM_Gen_i.hh +++ b/src/GEOM_I/GEOM_Gen_i.hh @@ -385,6 +385,9 @@ class GEOM_I_EXPORT GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual publi void LoadPlugin(const std::string& theLibName); + + virtual void BreakLink(const char*) {} + private: ::GEOMImpl_Gen* _impl; diff --git a/src/GEOM_I/GEOM_Object_i.hh b/src/GEOM_I/GEOM_Object_i.hh index a3d61e205..cd314a564 100644 --- a/src/GEOM_I/GEOM_Object_i.hh +++ b/src/GEOM_I/GEOM_Object_i.hh @@ -83,8 +83,6 @@ class GEOM_I_EXPORT GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual bool IsParametrical() { return false; } - virtual void BreakLinks() {} - Handle(::GEOM_Object) GetImpl() { return _impl; } -- 2.39.2