summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/Cocoa/main.mm')
-rw-r--r--Slimber/Cocoa/main.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/Slimber/Cocoa/main.mm b/Slimber/Cocoa/main.mm
new file mode 100644
index 0000000..e267477
--- /dev/null
+++ b/Slimber/Cocoa/main.mm
@@ -0,0 +1,8 @@
+#include <Cocoa/Cocoa.h>
+
+#include "Swiften/EventLoop/Cocoa/CocoaEventLoop.h"
+
+int main(int argc, char *argv[]) {
+ Swift::CocoaEventLoop eventLoop;
+ return NSApplicationMain(argc, const_cast<const char **>(argv));
+}