diff options
Diffstat (limited to 'SwifTools/URIHandler/MacOSXURIHandlerHelpers.mm')
-rw-r--r-- | SwifTools/URIHandler/MacOSXURIHandlerHelpers.mm | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/SwifTools/URIHandler/MacOSXURIHandlerHelpers.mm b/SwifTools/URIHandler/MacOSXURIHandlerHelpers.mm deleted file mode 100644 index dca91b8..0000000 --- a/SwifTools/URIHandler/MacOSXURIHandlerHelpers.mm +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright (c) 2011 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. - */ - -#include <SwifTools/URIHandler/MacOSXURIHandlerHelpers.h> - -#include <Cocoa/Cocoa.h> - -namespace Swift { - void registerAppAsDefaultXMPPURIHandler() { - NSString* bundleID = [[NSBundle mainBundle] bundleIdentifier]; - LSSetDefaultHandlerForURLScheme((CFStringRef)@"xmpp", (CFStringRef)bundleID); - } -} |