diff options
Diffstat (limited to 'Source/SPExporter.m')
-rw-r--r-- | Source/SPExporter.m | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Source/SPExporter.m b/Source/SPExporter.m index f99b35c3..a1fe448b 100644 --- a/Source/SPExporter.m +++ b/Source/SPExporter.m @@ -31,6 +31,7 @@ @synthesize didEndSelector; @synthesize exportProgressValue; @synthesize exportProcessIsRunning; +@synthesize exportData; @synthesize exportOutputEncoding; /** @@ -44,10 +45,13 @@ [self setExportProgressValue:0]; [self setExportProcessIsRunning:NO]; + // Default the resulting data to an empty string + [self setExportData:@""]; + // Default the output encoding to UTF-8 [self setExportOutputEncoding:NSUTF8StringEncoding]; - [self setDidEndSelector:@selector(csvDataAvailable:)]; + [self setDidEndSelector:@selector(exporterDataConversionProcessComplete:)]; } return self; @@ -61,4 +65,14 @@ @throw [NSException exceptionWithName:@"NSOperation main() call" reason:@"Can't call NSOperation's main() method in SPExpoter, must be overriden in subclass." userInfo:nil]; } +/** + * Get rid of the export data. + */ +- (void)dealloc +{ + [exportData release], exportData = nil; + + [super dealloc]; +} + @end |