X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParametersPlugin%2FParametersPlugin_ParametersMgr.h;h=fec5919205b40f892a62c9b0d225d2fcd5f20ee6;hb=4d3315763b20ea13044d3b6bda5297714fba01c0;hp=5c82367ad6367b560232e2610e36b5a5e4b27d46;hpb=78ec6f117638de12099c5675e9ace258c63de47a;p=modules%2Fshaper.git diff --git a/src/ParametersPlugin/ParametersPlugin_ParametersMgr.h b/src/ParametersPlugin/ParametersPlugin_ParametersMgr.h index 5c82367ad..fec591920 100644 --- a/src/ParametersPlugin/ParametersPlugin_ParametersMgr.h +++ b/src/ParametersPlugin/ParametersPlugin_ParametersMgr.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D --> - -// File: ParametersPlugin_ParametersMgr.h -// Created: 07 April 2016 -// Author: vsv +// Copyright (C) 2014-2019 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 +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef PARAMETERSPLUGIN_PARAMETERSMGR_H_ #define PARAMETERSPLUGIN_PARAMETERSMGR_H_ @@ -54,6 +67,10 @@ public: /// Returns true if result is persistent (stored in document) and on undo-redo, save-open /// it is not needed to recompute it. PARAMETERSPLUGIN_EXPORT virtual bool isPersistentResult() {return false;} + + /// Returns true if this feature must not be created: this is just an action + /// that is not stored in the features history and data model (like "delete part"). + virtual bool isInHistory() { return false; } };