X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FInitializationPlugin%2FInitializationPlugin_Plugin.h;h=94a1419cb360451ef885b8eaae11426ecadf0b8c;hb=refs%2Fheads%2FCR35150;hp=7aa2c9885062c3b9b996817443bb1390e8c44b86;hpb=0110603c88a28a712fc860c9a255153abff2365d;p=modules%2Fshaper.git diff --git a/src/InitializationPlugin/InitializationPlugin_Plugin.h b/src/InitializationPlugin/InitializationPlugin_Plugin.h index 7aa2c9885..94a1419cb 100644 --- a/src/InitializationPlugin/InitializationPlugin_Plugin.h +++ b/src/InitializationPlugin/InitializationPlugin_Plugin.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -70,9 +70,13 @@ class InitializationPlugin_Plugin : public Events_Listener FeaturePtr createAxis(DocumentPtr theDoc, FeaturePtr theOrigin, double theX, double theY, double theZ); + /// Creates and activates a new part in PartSet document. + void createPart(DocumentPtr thePartSet); + private: std::shared_ptr myEvalListener; bool myInitDataModel; + bool myCreatePartOnStart; }; #endif