aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPExporter.h')
-rw-r--r--Source/SPExporter.h13
1 files changed, 5 insertions, 8 deletions
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 <Cocoa/Cocoa.h>
+#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 <SPExporterDataAccess> delegate;
SEL didEndSelector;
double exportProgressValue;
@@ -72,4 +67,6 @@
@property (readwrite, assign) NSStringEncoding exportOutputEncoding;
+- (id)initWithDelegate:(id)exportDelegate;
+
@end