From 23c8a125dca16dd846a25d7ab30266e52f8048f2 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 6 Oct 2009 16:13:05 +0000 Subject: More export redesign work. --- Source/SPExporter.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Source/SPExporter.h') diff --git a/Source/SPExporter.h b/Source/SPExporter.h index 9bc2e592..685fc597 100644 --- a/Source/SPExporter.h +++ b/Source/SPExporter.h @@ -25,6 +25,8 @@ #import +#import "SPExporterDataAccess.h" + /** * This class is designed to be the base class of all data exporters and provide basic functionality * common to each of them. Each data exporter (i.e. CSV, SQL, XML, etc.) should be implemented as a subclass @@ -45,16 +47,9 @@ * once the exporter instance is placed on the operation queue once its ready to be run. */ -@interface NSObject (SPExporterDelegate) - -- (void)exportProcessDidStart:(id)exporter; -- (void)exportProcessDidEnd:(id)exporter; - -@end - @interface SPExporter : NSOperation { - id delegate; + id delegate; SEL didEndSelector; double exportProgressValue; @@ -72,4 +67,6 @@ @property (readwrite, assign) NSStringEncoding exportOutputEncoding; +- (id)initWithDelegate:(id)exportDelegate; + @end -- cgit v1.2.3