diff options
Diffstat (limited to 'Swiften/Application/CocoaApplication.mm')
-rw-r--r-- | Swiften/Application/CocoaApplication.mm | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Swiften/Application/CocoaApplication.mm b/Swiften/Application/CocoaApplication.mm deleted file mode 100644 index c5b3335..0000000 --- a/Swiften/Application/CocoaApplication.mm +++ /dev/null @@ -1,24 +0,0 @@ -#include "Swiften/Application/CocoaApplication.h" - -#include <AppKit/AppKit.h> -#include <Cocoa/Cocoa.h> - -namespace Swift { - -class CocoaApplication::Private { - public: - NSAutoreleasePool* autoReleasePool_; -}; - -CocoaApplication::CocoaApplication() { - d = new CocoaApplication::Private(); - NSApplicationLoad(); - d->autoReleasePool_ = [[NSAutoreleasePool alloc] init]; -} - -CocoaApplication::~CocoaApplication() { - [d->autoReleasePool_ release]; - delete d; -} - -} |