Fix cake going wrong way bug (triggered by disallowing "negative zero" in hwSign)
/*
* 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;
}