diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-28 18:52:43 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-28 18:52:43 (GMT) |
commit | 85dcc894ccf417ec8b057d868afb1d8006634ac4 (patch) | |
tree | b32c7b747c91727c9caf00076c0b2468038242a7 /Swift/Controllers/UIEvents | |
parent | 27f8faea9b516f45c932c6b36a626b78d92438d4 (diff) | |
download | swift-85dcc894ccf417ec8b057d868afb1d8006634ac4.zip swift-85dcc894ccf417ec8b057d868afb1d8006634ac4.tar.bz2 |
Some code cleanup.
Diffstat (limited to 'Swift/Controllers/UIEvents')
-rw-r--r-- | Swift/Controllers/UIEvents/RequestXMLConsoleUIEvent.h | 1 | ||||
-rw-r--r-- | Swift/Controllers/UIEvents/UIEventStream.h | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Swift/Controllers/UIEvents/RequestXMLConsoleUIEvent.h b/Swift/Controllers/UIEvents/RequestXMLConsoleUIEvent.h index 63492b3..1712d39 100644 --- a/Swift/Controllers/UIEvents/RequestXMLConsoleUIEvent.h +++ b/Swift/Controllers/UIEvents/RequestXMLConsoleUIEvent.h @@ -4,6 +4,5 @@ namespace Swift { class RequestXMLConsoleUIEvent : public UIEvent { - }; } diff --git a/Swift/Controllers/UIEvents/UIEventStream.h b/Swift/Controllers/UIEvents/UIEventStream.h index a20c578..60961c1 100644 --- a/Swift/Controllers/UIEvents/UIEventStream.h +++ b/Swift/Controllers/UIEvents/UIEventStream.h @@ -3,13 +3,15 @@ #include <boost/signals.hpp> #include <boost/shared_ptr.hpp> - #include "Swift/Controllers/UIEvents/UIEvent.h" namespace Swift { class UIEventStream { public: boost::signal<void (boost::shared_ptr<UIEvent>)> onUIEvent; - void send(boost::shared_ptr<UIEvent> event) {onUIEvent(event);}; + + void send(boost::shared_ptr<UIEvent> event) { + onUIEvent(event); + }; }; } |