summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/Cocoa/main.mm')
-rw-r--r--Slimber/Cocoa/main.mm13
1 files changed, 1 insertions, 12 deletions
diff --git a/Slimber/Cocoa/main.mm b/Slimber/Cocoa/main.mm
index e777e0d..e267477 100644
--- a/Slimber/Cocoa/main.mm
+++ b/Slimber/Cocoa/main.mm
@@ -1,19 +1,8 @@
#include <Cocoa/Cocoa.h>
-#include <string>
-#include <boost/bind.hpp>
-#include "Swiften/LinkLocal/AppleDNSSDService.h"
#include "Swiften/EventLoop/Cocoa/CocoaEventLoop.h"
-#include "Slimber/Server.h"
-
-using namespace Swift;
int main(int argc, char *argv[]) {
- CocoaEventLoop eventLoop;
-
- boost::shared_ptr<DNSSDService> dnsSDService=
- boost::shared_ptr<AppleDNSSDService>(new AppleDNSSDService());
- Server server(5222, 5562, dnsSDService);
-
+ Swift::CocoaEventLoop eventLoop;
return NSApplicationMain(argc, const_cast<const char **>(argv));
}