From 8531a4d2afb73d67ba064e2d38864208082e7c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Mon, 27 Dec 2010 13:38:03 +0100 Subject: Added event debugging methods. 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 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", ] -- cgit v0.10.2-6-g49f6