QTfrontend/M3Panel.mm
author nemo
Fri, 26 Mar 2010 00:53:31 +0000
changeset 3071 f40a3fbe3b34
parent 2400 2422ea85d100
child 3697 d5b30d6373fc
permissions -rw-r--r--
Add more dY checks to allow greater 45 deg bouncing, simplify check for stopped gear in interests of perf.

/*
 *  M3Panel.cpp
 *  
 *
 *  Created by Vittorio on 28/09/09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#include "M3Panel.h"
#include "M3InstallController.h"

#include <Cocoa/Cocoa.h>

class M3Panel::Private
{
public:
        M3InstallController *install;
};

M3Panel::M3Panel(void)
{
	c = new Private;
        
	c->install = [[M3InstallController alloc] init];
	[c->install retain];
        
}

M3Panel::~M3Panel()
{
	[c->install release];
	delete c;
}

void M3Panel::showInstallController()
{
        [c->install displayInstaller];
}