summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/Cocoa/MainController.mm')
-rw-r--r--Slimber/Cocoa/MainController.mm15
1 files changed, 15 insertions, 0 deletions
diff --git a/Slimber/Cocoa/MainController.mm b/Slimber/Cocoa/MainController.mm
new file mode 100644
index 0000000..30b7a16
--- /dev/null
+++ b/Slimber/Cocoa/MainController.mm
@@ -0,0 +1,15 @@
+#include "MainController.h"
+#include "Slimber.h"
+
+@implementation MainController
+
+- (void) dealloc {
+ delete slimber;
+ [super dealloc];
+}
+
+- (void) awakeFromNib {
+ slimber = new Slimber();
+}
+
+@end