Salome HOME
Avoid installing redundant files
[modules/geom.git] / src / STEPPlugin / STEPPlugin_IExport.hxx
index 020b573adf3136321bab6d6248911d98c8d17ee7..4258a224478ab74d0e4f35d5b6e3fa5579afd9eb 100644 (file)
@@ -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;