blob: 1d2ef5c166587bba332de090d7e143fbff7e1c18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* Copyright (c) 2015-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#include <Slimber/Cocoa/CocoaController.h>
#include <Slimber/Cocoa/CocoaMenulet.h>
#include <Slimber/Cocoa/main.h>
#include <Slimber/MainController.h>
@implementation CocoaController {
CocoaMenulet* menulet;
MainController* main;
}
- (void) dealloc {
delete main;
delete menulet;
[super dealloc];
}
- (void) awakeFromNib {
menulet = new CocoaMenulet();
main = new MainController(menulet, eventLoop);
}
@end
|