summaryrefslogtreecommitdiffstats
blob: da1df988ebe5fdbbe61dca057ebf2b3e4b61a00b (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 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#include <Slimber/Cocoa/CocoaController.h>

#include <Slimber/MainController.h>
#include <Slimber/Cocoa/CocoaMenulet.h>
#include <Slimber/Cocoa/main.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