Salome HOME
ViewerFilters transferred from XGUI to ModuleBase
[modules/shaper.git] / src / PartSet / PartSet_Listener.h
index 0512245540bfb6889e43f798c9e3e657ad33ddb8..272a40063a0ce08be3ea474d85783684f14549b3 100644 (file)
@@ -14,10 +14,10 @@ class PartSet_Module;
 /*!
  \class PartSet_Listener
  * \brief The operation for the sketch feature creation
-*/
+ */
 class PARTSET_EXPORT PartSet_Listener : public Events_Listener
 {
-public:
+ public:
   /// Constructor
   /// \param theId the feature identifier
   /// \param theParent the operation parent
@@ -26,10 +26,10 @@ public:
   virtual ~PartSet_Listener();
 
   /// This method is called by loop when the event is started to process.
-  virtual void processEvent(const Events_Message* theMessage);
+  virtual void processEvent(const boost::shared_ptr<Events_Message>& theMessage);
 
-private:
-  PartSet_Module* myModule; ///< the current module
+ private:
+  PartSet_Module* myModule;  ///< the current module
 };
 
 #endif