Salome HOME
Improve new MG license mechanism to be binary compatible 2.14/2.15
[modules/smesh.git] / src / SMESHUtils / SMESH_MGLicenseKeyGen.hxx
index 6f05f5d047aaf16c852ca01dc6f9169c7c1eac03..e56777fa304035735c5d37b7ccbce17afd94229f 100644 (file)
@@ -38,8 +38,11 @@ namespace SMESHUtils_MGLicenseKeyGen
   // MeshGems 2.13, 2.14 (for CADSurf)
   SMESHUtils_EXPORT bool        SignCAD( void* meshgems_cad, std::string& error );
 
+  // MeshGems 2.15 (for products launched as library)
+  SMESHUtils_EXPORT bool        UnlockProduct( const std::string& product, std::string& error );
+
   // MeshGems 2.13, 2.14 (for products launched as library)
-  SMESHUtils_EXPORT bool        SignMesh( void* meshgems_mesh, std::string& error );
+  SMESHUtils_EXPORT bool        SignMesh( void* meshgems_mesh, const std::string& product, std::string& error );
 
   // MeshGems 2.13, 2.14 and 2.15 (for products launched as executables)
   SMESHUtils_EXPORT std::string GetKey(const std::string& gmfFile,