aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCSVExporter.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-10-09 22:42:24 +0000
committerstuconnolly <stuart02@gmail.com>2009-10-09 22:42:24 +0000
commit20256abbd66b16013af66cbc6e6e08f3f763459c (patch)
tree4b8fb4854c7bdb49138cf90baf0ae46a882c0ea6 /Source/SPCSVExporter.h
parent9560da0d1e97fd834f05ed10c57a65744a6a3e70 (diff)
downloadsequelpro-20256abbd66b16013af66cbc6e6e08f3f763459c.tar.gz
sequelpro-20256abbd66b16013af66cbc6e6e08f3f763459c.tar.bz2
sequelpro-20256abbd66b16013af66cbc6e6e08f3f763459c.zip
Yet more export redesign work. Export is now currently working for single tables, but produces deadlock errors when attempting to export multiple tables as a result of the initial streaming request for the tables' data all being done from the same thread. To resolve this each of the streaming requests will be made concurrently in separate operations and once the data is available a new concurrent operation (SPExporter subclass instance) will be spawned to perform the data conversion process.
Diffstat (limited to 'Source/SPCSVExporter.h')
-rw-r--r--Source/SPCSVExporter.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/Source/SPCSVExporter.h b/Source/SPCSVExporter.h
index c0cc75c4..b0edc04e 100644
--- a/Source/SPCSVExporter.h
+++ b/Source/SPCSVExporter.h
@@ -28,21 +28,11 @@
#import "MCPKit.h"
#import "SPExporter.h"
-/**
- *
- */
-@interface SPCSVExporterDelegate
-
-- (void)csvDataAvailable:(NSString *)data;
-
-@end
-
-
@interface SPCSVExporter : SPExporter
{
// CSV data
NSArray *csvDataArray;
- MCPResult *csvDataResult;
+ MCPStreamingResult *csvDataResult;
// CSV options
BOOL csvOutputFieldNames;
@@ -55,7 +45,7 @@
}
@property (readwrite, retain) NSArray *csvDataArray;
-@property (readwrite, retain) MCPResult *csvDataResult;
+@property (readwrite, retain) MCPStreamingResult *csvDataResult;
@property (readwrite, assign) BOOL csvOutputFieldNames;
@property (readwrite, retain) NSString *csvFieldSeparatorString;