Salome HOME
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[modules/shaper.git] / src / ModelAPI / ModelAPI_Events.h
index 96395a997f9407c668521c29ba3624a79c7dfa43..20d2530bb1c9ddf12d3bf35642b0acbf9cc18998 100644 (file)
@@ -150,15 +150,16 @@ class ModelAPI_DocumentCreatedMessage : public Events_Message
   MODELAPI_EXPORT ModelAPI_DocumentCreatedMessage(const Events_ID theID, const void* theSender = 0);
   /// The virtual destructor
   MODELAPI_EXPORT virtual ~ModelAPI_DocumentCreatedMessage();
-
+  /// Static. Returns EventID of the message.
   MODELAPI_EXPORT static Events_ID eventId()
   {
     static const char * MY_DOCUMENT_CREATED_EVENT_ID("DocumentCreated");
     return Events_Loop::eventByName(MY_DOCUMENT_CREATED_EVENT_ID);
   }
 
-
+  /// Returns a document stored in the message
   MODELAPI_EXPORT DocumentPtr document() const;
+  /// Sets a document to the message
   MODELAPI_EXPORT void setDocument(DocumentPtr theDocument);
 };