X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSTEPPlugin%2FSTEPPlugin_IExport.hxx;h=4258a224478ab74d0e4f35d5b6e3fa5579afd9eb;hb=22d3109060d9acc372bcc3bcfc4b52849b46fb07;hp=020b573adf3136321bab6d6248911d98c8d17ee7;hpb=9680031be017f475ebb1d506a72b9527f5ce70b3;p=modules%2Fgeom.git diff --git a/src/STEPPlugin/STEPPlugin_IExport.hxx b/src/STEPPlugin/STEPPlugin_IExport.hxx index 020b573ad..4258a2244 100644 --- a/src/STEPPlugin/STEPPlugin_IExport.hxx +++ b/src/STEPPlugin/STEPPlugin_IExport.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2014-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -24,6 +24,7 @@ #define EXPORTSTEP_ARG_ORIGINAL 1 #define EXPORTSTEP_ARG_FILENAME 2 +#define EXPORTSTEP_ARG_UNIT 3 class STEPPlugin_IExport { @@ -40,6 +41,11 @@ public: { _func->SetString( EXPORTSTEP_ARG_FILENAME, theFileName ); } TCollection_AsciiString GetFileName() { return _func->GetString( EXPORTSTEP_ARG_FILENAME ); } + + void SetUnit(const Standard_Integer theUnit) + { _func->SetInteger(EXPORTSTEP_ARG_UNIT, theUnit); } + Standard_Integer GetUnit() + { return _func->GetInteger(EXPORTSTEP_ARG_UNIT); } private: Handle(GEOM_Function) _func;