Salome HOME
Merge branch 'occ/new_mg_licnese'
[plugins/ghs3dprlplugin.git] / src / GHS3DPRLPlugin / MG_TetraHPC_API.hxx
index b4f9153c498b2a38ce5f30fe42f9de49414d2074..d1aed510c4d6f18b208863c8f6b6db547cf6c257 100644 (file)
@@ -52,7 +52,7 @@ public:
   void GmfSetLin(int iMesh, GmfKwdCod what, int id ); // required
   void GmfSetLin(int iMesh, GmfKwdCod what, int node1, int node2, int node3, int domain ); // tria
 
-  bool Compute( const std::string& cmdLine );
+  bool Compute( const std::string& cmdLine, std::string& errStr );
 
   // OUT from MESHGEMS
   int  GmfOpenMesh(const char* theFile, int rdOrWr, int * ver, int * dim);
@@ -81,6 +81,13 @@ private:
   LibData*      _libData;
   std::set<int> _openFiles;
   std::string   _logFile;
+
+
+  // count mesh entities for MG license key generation
+  int           _nbNodes;
+  int           _nbEdges;
+  int           _nbFaces;
+  int           _nbVolumes;
 };
 
 #endif