equal
deleted
inserted
replaced
21 |
21 |
22 #include <Cocoa/Cocoa.h> |
22 #include <Cocoa/Cocoa.h> |
23 |
23 |
24 class M3Panel::Private |
24 class M3Panel::Private |
25 { |
25 { |
26 public: |
26 public: |
27 M3InstallController *install; |
27 M3InstallController *install; |
28 }; |
28 }; |
29 |
29 |
30 M3Panel::M3Panel(void) |
30 M3Panel::M3Panel(void) |
31 { |
31 { |
32 c = new Private; |
32 c = new Private; |
33 |
33 |
34 c->install = [[M3InstallController alloc] init]; |
34 c->install = [[M3InstallController alloc] init]; |
35 [c->install retain]; |
35 [c->install retain]; |
36 |
|
37 } |
36 } |
38 |
37 |
39 M3Panel::~M3Panel() |
38 M3Panel::~M3Panel() |
40 { |
39 { |
41 [c->install release]; |
40 [c->install release]; |
42 delete c; |
41 delete c; |
43 } |
42 } |
44 |
43 |
45 void M3Panel::showInstallController() |
44 void M3Panel::showInstallController() |
46 { |
45 { |
47 [c->install displayInstaller]; |
46 [c->install displayInstaller]; |
48 } |
47 } |