aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExporter.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-10-06 16:13:05 +0000
committerstuconnolly <stuart02@gmail.com>2009-10-06 16:13:05 +0000
commit23c8a125dca16dd846a25d7ab30266e52f8048f2 (patch)
tree0547a7225b6a8e794e73392756679a266e4d40f9 /Source/SPExporter.h
parent3f2838787602f50176a0ea4e15c0f69cd403920c (diff)
downloadsequelpro-23c8a125dca16dd846a25d7ab30266e52f8048f2.tar.gz
sequelpro-23c8a125dca16dd846a25d7ab30266e52f8048f2.tar.bz2
sequelpro-23c8a125dca16dd846a25d7ab30266e52f8048f2.zip
More export redesign work.
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