summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-27 12:38:03 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-27 12:38:03 (GMT)
commit8531a4d2afb73d67ba064e2d38864208082e7c15 (patch)
tree021c7d8f9b2027b3085da879aae26ae93eb8218d /Swiften
parentcc974fa85908278cce941b0d28e3178ef0b87b8c (diff)
downloadswift-contrib-8531a4d2afb73d67ba064e2d38864208082e7c15.zip
swift-contrib-8531a4d2afb73d67ba064e2d38864208082e7c15.tar.bz2
Added event debugging methods.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/EventLoop/Event.h2
-rw-r--r--Swiften/EventLoop/SConscript1
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",
]