Salome HOME
Possibility to load proprietary plugins on startup and check the license validity
[modules/shaper.git] / src / Model / Model_Session.cpp
index eb4ab5ff98229ea4a7fc46074a9352c61c304bc8..38ed84cfcc6d40a097513abb121253bbfa88eb5d 100644 (file)
@@ -179,6 +179,11 @@ std::list<std::string> Model_Session::redoList()
   return ROOT_DOC->redoList();
 }
 
+bool Model_Session::checkLicense(const std::string& thePluginName)
+{
+  return getPlugin(thePluginName);
+}
+
 ModelAPI_Plugin* Model_Session::getPlugin(const std::string& thePluginName)
 {
   if (myPluginObjs.find(thePluginName) == myPluginObjs.end()) {