QTfrontend/M3Panel.mm
changeset 2400 2422ea85d100
child 3697 d5b30d6373fc
equal deleted inserted replaced
2399:ddde0ac1472b 2400:2422ea85d100
       
     1 /*
       
     2  *  M3Panel.cpp
       
     3  *  
       
     4  *
       
     5  *  Created by Vittorio on 28/09/09.
       
     6  *  Copyright 2009 __MyCompanyName__. All rights reserved.
       
     7  *
       
     8  */
       
     9 
       
    10 #include "M3Panel.h"
       
    11 #include "M3InstallController.h"
       
    12 
       
    13 #include <Cocoa/Cocoa.h>
       
    14 
       
    15 class M3Panel::Private
       
    16 {
       
    17 public:
       
    18         M3InstallController *install;
       
    19 };
       
    20 
       
    21 M3Panel::M3Panel(void)
       
    22 {
       
    23 	c = new Private;
       
    24         
       
    25 	c->install = [[M3InstallController alloc] init];
       
    26 	[c->install retain];
       
    27         
       
    28 }
       
    29 
       
    30 M3Panel::~M3Panel()
       
    31 {
       
    32 	[c->install release];
       
    33 	delete c;
       
    34 }
       
    35 
       
    36 void M3Panel::showInstallController()
       
    37 {
       
    38         [c->install displayInstaller];
       
    39 }