QTfrontend/M3Panel.mm
author nemo
Sun, 26 Sep 2010 15:40:59 -0400
changeset 3907 5b516f0d9957
parent 3697 d5b30d6373fc
child 4976 088d40d8aba2
permissions -rw-r--r--
Allow UFO to go underwater. Keep UFO active if it runs out of fuel in the air/water, just disable controls.

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