diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-09-12 16:10:50 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-09-12 16:10:50 (GMT) |
commit | 41e89bb5ed1a9d38d1ece1310ef708daad54a9a9 (patch) | |
tree | 729117779ef76f28bff02413ce74daac46ccc565 /Swiften/Application/MacOSX/MacOSXApplicationInitializer.mm | |
parent | de0cdc61015f86a334bc4c0589bafe0bfdf89786 (diff) | |
download | swift-41e89bb5ed1a9d38d1ece1310ef708daad54a9a9.zip swift-41e89bb5ed1a9d38d1ece1310ef708daad54a9a9.tar.bz2 |
Moved application message display around.
Diffstat (limited to 'Swiften/Application/MacOSX/MacOSXApplicationInitializer.mm')
-rw-r--r-- | Swiften/Application/MacOSX/MacOSXApplicationInitializer.mm | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Swiften/Application/MacOSX/MacOSXApplicationInitializer.mm b/Swiften/Application/MacOSX/MacOSXApplicationInitializer.mm deleted file mode 100644 index e401697..0000000 --- a/Swiften/Application/MacOSX/MacOSXApplicationInitializer.mm +++ /dev/null @@ -1,24 +0,0 @@ -#include "Swiften/Application/MacOSX/MacOSXApplicationInitializer.h" - -#include <AppKit/AppKit.h> -#include <Cocoa/Cocoa.h> - -namespace Swift { - -class MacOSXApplicationInitializer::Private { - public: - NSAutoreleasePool* autoReleasePool_; -}; - -MacOSXApplicationInitializer::MacOSXApplicationInitializer() { - d = new MacOSXApplicationInitializer::Private(); - NSApplicationLoad(); - d->autoReleasePool_ = [[NSAutoreleasePool alloc] init]; -} - -MacOSXApplicationInitializer::~MacOSXApplicationInitializer() { - [d->autoReleasePool_ release]; - delete d; -} - -} |