X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Events.h;h=97f4170a4c8f7eadda1d44a5919d9b2207aaadbd;hb=530f5aff42069e844c4a4ef164088ea23ba0e2dd;hp=7b5ffdce1931af717d0388e6b04dc7bf370ce38a;hpb=5a0a094f0e94be8b4fd7b733e2f6e028b06f0517;p=modules%2Fshaper.git diff --git a/src/Model/Model_Events.h b/src/Model/Model_Events.h index 7b5ffdce1..97f4170a4 100644 --- a/src/Model/Model_Events.h +++ b/src/Model/Model_Events.h @@ -91,7 +91,7 @@ class Model_ObjectDeletedMessage : public ModelAPI_ObjectDeletedMessage class Model_OrderUpdatedMessage : public ModelAPI_OrderUpdatedMessage { std::shared_ptr myDoc; ///< document owner of the feature - std::set myGroups; ///< group identifiers that contained the deleted feature + std::string myGroup; ///< group identifier that contained the deleted feature /// Use ModelAPI for creation of this event. Model_OrderUpdatedMessage(const std::shared_ptr& theDoc, @@ -106,19 +106,13 @@ class Model_OrderUpdatedMessage : public ModelAPI_OrderUpdatedMessage } /// Returns the group where the objects were reordered - virtual const std::set& groups() const + virtual const std::string& group() const { - return myGroups; + return myGroup; } - /// Returns the new empty message of this type - virtual std::shared_ptr newEmpty(); - /// Returns the identifier of this message virtual const Events_ID messageId(); - - /// Appends to this message the given one - virtual void Join(const std::shared_ptr& theJoined); }; #endif