X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBuildPlugin%2FBuildPlugin_Wire.h;h=d282de050271862647d14eef864614cfb245eb51;hb=9d8267a424a809d0f96593b13f8472666553ce2e;hp=39128be6b49d93b0cea706502b5f34a1b1747c24;hpb=fc5fd86df3813fdb122301b3599e7e7a79e967e8;p=modules%2Fshaper.git diff --git a/src/BuildPlugin/BuildPlugin_Wire.h b/src/BuildPlugin/BuildPlugin_Wire.h index 39128be6b..d282de050 100644 --- a/src/BuildPlugin/BuildPlugin_Wire.h +++ b/src/BuildPlugin/BuildPlugin_Wire.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: BuildPlugin_Wire.h -// Created: 14 April 2016 -// Author: Dmitry Bobylev +// Copyright (C) 2014-2017 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 BuildPlugin_Wire_H_ #define BuildPlugin_Wire_H_ @@ -34,6 +48,13 @@ public: return MY_BASE_OBJECTS_ID; } + /// Attribute name of base objects. + inline static const std::string& ADD_CONTOUR_ACTION_ID() + { + static const std::string MY_ADD_CONTOUR_ACTION_ID("add_contour"); + return MY_ADD_CONTOUR_ACTION_ID; + } + /// \return the kind of a feature. BUILDPLUGIN_EXPORT virtual const std::string& getKind() {