#include #include #include #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= boost::shared_ptr(new AppleDNSSDService()); Server server(5222, 5562, dnsSDService); return NSApplicationMain(argc, const_cast(argv)); }