diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-27 12:38:03 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-27 12:38:03 (GMT) |
commit | 8531a4d2afb73d67ba064e2d38864208082e7c15 (patch) | |
tree | 021c7d8f9b2027b3085da879aae26ae93eb8218d /Swiften | |
parent | cc974fa85908278cce941b0d28e3178ef0b87b8c (diff) | |
download | swift-contrib-8531a4d2afb73d67ba064e2d38864208082e7c15.zip swift-contrib-8531a4d2afb73d67ba064e2d38864208082e7c15.tar.bz2 |
Added event debugging methods.
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/EventLoop/Event.h | 2 | ||||
-rw-r--r-- | Swiften/EventLoop/SConscript | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/EventLoop/Event.h b/Swiften/EventLoop/Event.h index 209de33..763fe00 100644 --- a/Swiften/EventLoop/Event.h +++ b/Swiften/EventLoop/Event.h @@ -27,3 +27,5 @@ namespace Swift { boost::function<void()> callback; }; } + +std::ostream& operator<<(std::ostream& os, const Swift::Event& e); diff --git a/Swiften/EventLoop/SConscript b/Swiften/EventLoop/SConscript index a98971f..31ad9a8 100644 --- a/Swiften/EventLoop/SConscript +++ b/Swiften/EventLoop/SConscript @@ -3,6 +3,7 @@ Import("swiften_env") sources = [ "EventLoop.cpp", "EventOwner.cpp", + "Event.cpp", "SimpleEventLoop.cpp", ] |