summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-21 13:30:09 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-21 13:32:06 (GMT)
commit358f741f45ac92d07b923afd51aeb39704277374 (patch)
tree7dd2eb80cab3d76771ffb22f5d8c7bf4aae77887 /Slimber/Server.cpp
parente6e5c2a9935d5970c9ed570f86cfec06f0ab75fd (diff)
downloadswift-358f741f45ac92d07b923afd51aeb39704277374.zip
swift-358f741f45ac92d07b923afd51aeb39704277374.tar.bz2
Add VCardCollection.
Diffstat (limited to 'Slimber/Server.cpp')
-rw-r--r--Slimber/Server.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Slimber/Server.cpp b/Slimber/Server.cpp
index 53c02a0..c331416 100644
--- a/Slimber/Server.cpp
+++ b/Slimber/Server.cpp
@@ -13,17 +13,19 @@
#include "Swiften/LinkLocal/OutgoingLinkLocalSession.h"
#include "Swiften/LinkLocal/IncomingLinkLocalSession.h"
#include "Swiften/Network/ConnectionServer.h"
+#include "Slimber/VCardCollection.h"
#include "Swiften/Server/ServerFromClientSession.h"
namespace Swift {
-Server::Server(int clientConnectionPort, int linkLocalConnectionPort, boost::shared_ptr<LinkLocalRoster> linkLocalRoster, boost::shared_ptr<DNSSDService> dnsSDService) :
+Server::Server(int clientConnectionPort, int linkLocalConnectionPort, boost::shared_ptr<LinkLocalRoster> linkLocalRoster, boost::shared_ptr<DNSSDService> dnsSDService, VCardCollection* vCardCollection) :
dnsSDServiceRegistered_(false),
rosterRequested_(false),
clientConnectionPort_(clientConnectionPort),
linkLocalConnectionPort_(linkLocalConnectionPort),
linkLocalRoster_(linkLocalRoster),
- dnsSDService_(dnsSDService) {
+ dnsSDService_(dnsSDService),
+ vCardCollection_(vCardCollection) {
serverFromClientConnectionServer_ =
boost::shared_ptr<BoostConnectionServer>(new BoostConnectionServer(
clientConnectionPort, &boostIOServiceThread_.getIOService()));