]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Events.cpp
Salome HOME
Possibility to load proprietary plugins on startup and check the license validity
[modules/shaper.git] / src / ModelAPI / ModelAPI_Events.cpp
index 506b261893205208fa443108f8f31811df5be0df..a340738947572f535e9d55289a1a4535796a38d6 100644 (file)
@@ -469,3 +469,23 @@ const ListOfShape& ModelAPI_ShapesFailedMessage::shapes() const
 {
   return myShapes;
 }
+
+
+// =====   ModelAPI_FeaturesLicenseValidMessage   =====
+ModelAPI_FeaturesLicenseValidMessage::ModelAPI_FeaturesLicenseValidMessage(
+    const Events_ID theID, const void* theSender)
+  : Events_Message(theID, theSender)
+{}
+
+ModelAPI_FeaturesLicenseValidMessage::~ModelAPI_FeaturesLicenseValidMessage()
+{}
+
+void ModelAPI_FeaturesLicenseValidMessage::setFeatures(const std::set<std::string>& theFeatures)
+{
+  myFeatures = theFeatures;
+}
+
+const std::set<std::string>& ModelAPI_FeaturesLicenseValidMessage::features() const
+{
+  return myFeatures;
+}