Salome HOME
Move Events messages to boost pointers: partially done
[modules/shaper.git] / src / Model / Model_Session.h
index 5ee656025d1cf71e3da7fbab5e49423a085f7295..845d93f7efbf7b6724a7e9a9aafd8b6b28146246 100644 (file)
@@ -81,7 +81,7 @@ class Model_Session : public ModelAPI_Session, public Events_Listener
   MODEL_EXPORT virtual void registerPlugin(ModelAPI_Plugin* thePlugin);
 
   /// Processes the configuration file reading
-  MODEL_EXPORT virtual void processEvent(const Events_Message* theMessage);
+  MODEL_EXPORT virtual void processEvent(const boost::shared_ptr<Events_Message>& theMessage);
 
   /// Copies the document to the new one wit hthe given id
   MODEL_EXPORT virtual boost::shared_ptr<ModelAPI_Document> copy(