Salome HOME
Auto-formatting according to the defined code standard.
[modules/shaper.git] / src / Event / Event_Loop.hxx
index 3d57ec45cb6c37d1a226f0827823ef91f99bfe62..d50e6633f21f2cd1a2c285c51d2d1d26934b4d65 100644 (file)
  * Performing of events is processed in separated thread, so, sender takes 
  * control back immideately.
  */
-class Event_Loop {
-  std::map<char*, std::map<void*, std::list<Event_Listener*> > >
-    myListeners; ///< map from event ID to sender pointer to listeners that must be called for this
+class Event_Loop
+{
+  std::map<char*, std::map<void*, std::list<Event_Listener*> > > myListeners; ///< map from event ID to sender pointer to listeners that must be called for this
 
   //! The empty constructor, will be called at startup of the application, only once
-  Event_Loop() {};
+  Event_Loop()
+  {
+  }
+  ;
 public:
   ///! Returns the main object of the loop, one per application.
   EVENT_EXPORT static Event_Loop* Loop();
@@ -39,8 +42,8 @@ public:
 
   //! Registers (or adds if such listener is already registered) a listener 
   //! that will be called on the event and from the defined sender
-  EVENT_EXPORT void RegisterListener(Event_Listener* theListener, const Event_ID theID, 
-    void* theSender = 0);
+  EVENT_EXPORT void RegisterListener(Event_Listener* theListener, const Event_ID theID,
+                                     void* theSender = 0);
 };
 
 #endif