a lot of stuff:
- added an autoupdater option
* works in mac osx only
* the xml file should be hosted on official webserver
* checkbox could be moved in a "updates section" of the option page
* only english and italian translation provided for new option
- reverted openalbridge type for compatibility
- german translation fix
/*
* Copyright (C) 2008 Remko Troncon
*/
#include "CocoaInitializer.h"
#include <AppKit/AppKit.h>
#include <Cocoa/Cocoa.h>
#include <QtDebug>
class CocoaInitializer::Private
{
public:
NSAutoreleasePool* autoReleasePool_;
};
CocoaInitializer::CocoaInitializer()
{
d = new CocoaInitializer::Private();
NSApplicationLoad();
d->autoReleasePool_ = [[NSAutoreleasePool alloc] init];
}
CocoaInitializer::~CocoaInitializer()
{
[d->autoReleasePool_ release];
delete d;
}