summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-12-14 20:41:57 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-14 20:45:34 (GMT)
commitddc0ef9f5520d1e1e18e134f1a8fbdb678bbbc94 (patch)
treea2c6780381a627186c871f2aefbcc1c48ee8b0a1 /Swiften/Network
parent704d14b48f1baaa9b037787451e0239fdc7f0daa (diff)
downloadswift-contrib-ddc0ef9f5520d1e1e18e134f1a8fbdb678bbbc94.zip
swift-contrib-ddc0ef9f5520d1e1e18e134f1a8fbdb678bbbc94.tar.bz2
Added initial Growl for Windows notifier (GNTP).
The notifier doesn't handle callbacks yet. Release-Notes: Replaced Snarl notifications with Growl for Windows notifications.
Diffstat (limited to 'Swiften/Network')
-rw-r--r--Swiften/Network/Connection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swiften/Network/Connection.h b/Swiften/Network/Connection.h
index 8c30ad7..712f145 100644
--- a/Swiften/Network/Connection.h
+++ b/Swiften/Network/Connection.h
@@ -6,8 +6,9 @@
#pragma once
-#include "Swiften/Base/boost_bsignals.h"
+#include <boost/shared_ptr.hpp>
+#include "Swiften/Base/boost_bsignals.h"
#include "Swiften/Base/ByteArray.h"
#include "Swiften/Base/String.h"
#include "Swiften/Network/HostAddressPort.h"
@@ -15,6 +16,8 @@
namespace Swift {
class Connection {
public:
+ typedef boost::shared_ptr<Connection> ref;
+
enum Error {
ReadError,
WriteError