summaryrefslogtreecommitdiffstats
blob: 2ee350d43fddd064136f7707bbf4fbf1a77aab6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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