QTfrontend/M3Panel.mm
author nemo
Mon, 08 Feb 2010 03:03:18 +0000
changeset 2762 2fbc8d35eb52
parent 2400 2422ea85d100
child 3697 d5b30d6373fc
permissions -rw-r--r--
Mode to place hogs at start of game. Will probably need a bit more testing.

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