QTfrontend/M3Panel.mm
author unc0rr
Tue, 08 Feb 2011 22:24:30 +0300
changeset 4936 d65d438acd23
parent 3697 d5b30d6373fc
child 4976 088d40d8aba2
permissions -rw-r--r--
Merge MAP, MAPGEN and SEED params into one on room join, so engine isn't spawned three times for a preview. Not tested as I'm unable to see my rooms (why?)

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