summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-21 09:11:26 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-21 09:11:26 (GMT)
commitabba8740ba29f05eef23a826e3095214f51bd0a4 (patch)
tree49c9c176669c6ff41c266b36f4c0e5beb028ba5c /Slimber/Cocoa/MainController.mm
parent1642d13e5e8d593a36ef1945387794e0d13247be (diff)
downloadswift-contrib-abba8740ba29f05eef23a826e3095214f51bd0a4.zip
swift-contrib-abba8740ba29f05eef23a826e3095214f51bd0a4.tar.bz2
Create Slimber controller.
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