Salome HOME
Updated copyright comment
[plugins/hexoticplugin.git] / src / HexoticPlugin / MG_Hexotic_API.hxx
index b01792f263a57ea144c6641f1c125d2a7efed63f..e78c12b34bb361c165b6def89b1ed0e32238e17a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2004-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -41,6 +41,8 @@ public:
   bool IsLibrary();
   bool IsExecutable() { return !IsLibrary(); }
   void SetUseExecutable();
+  void SetInputFile( const std::string mesh2DFile );
+  void SetIsInputMesh(bool isMeshIn) { _isMesh = isMeshIn; }
 
   // IN to MESHGEMS
   int  GmfOpenMesh(const char* theFile, int rdOrWr, int ver, int dim);
@@ -81,6 +83,13 @@ private:
   LibData*      _libData;
   std::set<int> _openFiles;
   std::string   _logFile;
+
+  // count mesh entities for MG license key generation
+  bool          _isMesh;
+  int           _nbNodes;
+  int           _nbEdges;
+  int           _nbFaces;
+  int           _nbVolumes;
 };
 
 #endif