QTfrontend/M3Panel.mm
author smxx
Mon, 29 Mar 2010 13:35:15 +0000
changeset 3153 adfe8a91658f
parent 2400 2422ea85d100
child 3697 d5b30d6373fc
permissions -rw-r--r--
Engine: * Show engine window centered on screen if not in fullscreen mode

/*
 *  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];
}