QTfrontend/M3Panel.mm
author unc0rr
Thu, 13 Jan 2011 21:52:48 +0300
changeset 4837 2ea0a152c319
parent 3697 d5b30d6373fc
child 4976 088d40d8aba2
permissions -rw-r--r--
Pass PHedgehog instead of PGear to stats. Fixes crash.

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