X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FEvents%2FEvents_Listener.h;h=f59bbd2f9d36de78f3cbb9839b06a3d20c889eaf;hb=f796a1cc0ab2c9d545e1a642f1e207ece3316b82;hp=5bac8dc8a8bf444330d716c3bd5f93f1fb5c36a2;hpb=4cbd08290dc7a540e3fa93913d484e8336df90d9;p=modules%2Fshaper.git diff --git a/src/Events/Events_Listener.h b/src/Events/Events_Listener.h index 5bac8dc8a..f59bbd2f9 100644 --- a/src/Events/Events_Listener.h +++ b/src/Events/Events_Listener.h @@ -6,6 +6,8 @@ #define Events_Listener_H_ #include +#include + class Events_Message; /**\class Events_Listener @@ -15,11 +17,12 @@ class Events_Message; * If some object wants to listen some events it must inherit * this class and register in the Loop. */ -class EVENTS_EXPORT Events_Listener { +class EVENTS_EXPORT Events_Listener +{ -public: + public: //! This method is called by loop when the event is started to process. - virtual void processEvent(const Events_Message* theMessage) = 0; + virtual void processEvent(const boost::shared_ptr& theMessage) = 0; }; #endif