aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPXMLExporter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPXMLExporter.h')
-rw-r--r--Source/SPXMLExporter.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/Source/SPXMLExporter.h b/Source/SPXMLExporter.h
index dba81cba..a9e6c2dd 100644
--- a/Source/SPXMLExporter.h
+++ b/Source/SPXMLExporter.h
@@ -26,7 +26,45 @@
#import <Cocoa/Cocoa.h>
#import "SPExporter.h"
+#import "SPXMLExporterProtocol.h"
+/**
+ * @class SPXMLExporter SPXMLExporter.m
+ *
+ * @author Stuart Connolly http://stuconnolly.com/
+ *
+ * XML exporter class.
+ */
@interface SPXMLExporter : SPExporter
+{
+ /**
+ * Exporter delegate
+ */
+ NSObject <SPXMLExporterProtocol> *delegate;
+
+ /**
+ * Data array
+ */
+ NSArray *xmlDataArray;
+
+ /**
+ * Table name
+ */
+ NSString *xmlTableName;
+}
+
+@property(readwrite, assign) NSObject *delegate;
+
+@property(readwrite, retain) NSArray *xmlDataArray;
+@property(readwrite, retain) NSString *xmlTableName;
+
+/**
+ * Initialise an instance of SPXMLExporter using the supplied delegate.
+ *
+ * @param exportDelegate The exporter delegate
+ *
+ * @return The initialised instance
+ */
+- (id)initWithDelegate:(NSObject *)exportDelegate;
@end