aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-10-07 00:11:40 +0000
committerstuconnolly <stuart02@gmail.com>2009-10-07 00:11:40 +0000
commit6269e47fcf89cf3fb6d01184064dface1d163c05 (patch)
tree0f1ad826305fc2328fa49f0e5b34a17c52d883d3 /Source/SPAppController.m
parent5ec0349424ff8299a25bbf5a538865e752cd9215 (diff)
downloadsequelpro-6269e47fcf89cf3fb6d01184064dface1d163c05.tar.gz
sequelpro-6269e47fcf89cf3fb6d01184064dface1d163c05.tar.bz2
sequelpro-6269e47fcf89cf3fb6d01184064dface1d163c05.zip
More export redesign work. Note that the current implementation has a major flaw in that exporter instances (NSOperation subclasses) are not reusable and so we have to create a new instance for every 'chunk' of data we want to process.
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 547d1e9c..f5023643 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -39,11 +39,13 @@
@implementation SPAppController
-
-- (id) init
+/**
+ * Inialise the application's main controller, setting itself as the app delegate.
+ */
+- (id)init
{
if ((self = [super init])) {
- [NSApp setDelegate: self];
+ [NSApp setDelegate:self];
}
return self;