Salome HOME
Possibility to load proprietary plugins on startup and check the license validity
[modules/shaper.git] / src / ModelAPI / ModelAPI_Session.h
index 339263fb0f0ceccd48008f63fdf2829226396c6f..7a1b2f40deb85da888ff3a020e4cf07e1447311b 100644 (file)
@@ -97,6 +97,9 @@ class MODELAPI_EXPORT ModelAPI_Session
   /// the plugin manager on call of the feature)
   virtual void registerPlugin(ModelAPI_Plugin* thePlugin) = 0;
 
+  /// Verifies the license for the plugin is valid
+  virtual bool checkLicense(const std::string& thePluginName) = 0;
+
   /// Returns the root document of the application (that may contains sub-documents)
   virtual std::shared_ptr<ModelAPI_Document> moduleDocument() = 0;