summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Jingle/JingleSession.cpp')
-rw-r--r--Swiften/Jingle/JingleSession.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Swiften/Jingle/JingleSession.cpp b/Swiften/Jingle/JingleSession.cpp
index eb649f3..7e09014 100644
--- a/Swiften/Jingle/JingleSession.cpp
+++ b/Swiften/Jingle/JingleSession.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2013 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
@@ -7,8 +7,12 @@
#include <Swiften/Jingle/JingleSession.h>
#include <boost/smart_ptr/make_shared.hpp>
+#include <algorithm>
+#include <boost/function.hpp>
-namespace Swift {
+#include <Swiften/Base/foreach.h>
+
+using namespace Swift;
JingleSession::JingleSession(const JID& initiator, const std::string& id) : initiator(initiator), id(id) {
// initiator must always be a full JID; session lookup based on it wouldn't work otherwise
@@ -18,5 +22,3 @@ JingleSession::JingleSession(const JID& initiator, const std::string& id) : init
JingleSession::~JingleSession() {
}
-
-}