From 6269e47fcf89cf3fb6d01184064dface1d163c05 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 7 Oct 2009 00:11:40 +0000 Subject: 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. --- Source/SPExportController.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Source/SPExportController.h') diff --git a/Source/SPExportController.h b/Source/SPExportController.h index 645ade0a..eec8ce63 100644 --- a/Source/SPExportController.h +++ b/Source/SPExportController.h @@ -105,10 +105,16 @@ typedef NSUInteger SPExportSource; IBOutlet id tokenNameTokensField; IBOutlet id exampleNameLabel; - // Local variables + // Cancellation flag BOOL exportCancelled; + + // Current database's tables NSMutableArray *tables; + + // Database connection MCPConnection *connection; + + // Concurrent operation queue NSOperationQueue *operationQueue; } -- cgit v1.2.3