#include <Model_Events.h>
#include <Events_Loop.h>
-ModelAPI_FeatureUpdatedMessage::ModelAPI_FeatureUpdatedMessage(
- const boost::shared_ptr<ModelAPI_Document>& theDoc,
- const boost::shared_ptr<ModelAPI_Feature>& theFeature, const Events_ID& theEvent)
- : Events_Message(theEvent, 0), myFeature(theFeature), myDoc(theDoc)
-{}
-
-ModelAPI_FeatureDeletedMessage::ModelAPI_FeatureDeletedMessage(
+Model_FeatureDeletedMessage::Model_FeatureDeletedMessage(
const boost::shared_ptr<ModelAPI_Document>& theDoc, const std::string& theGroup)
: Events_Message(messageId(), 0), myDoc(theDoc), myGroup(theGroup)
{
}
-const Events_ID ModelAPI_FeatureDeletedMessage::messageId()
+const Events_ID Model_FeatureDeletedMessage::messageId()
{
static Events_ID MY_ID = Events_Loop::eventByName(EVENT_FEATURE_DELETED);
return MY_ID;