aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFieldMapperController.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPFieldMapperController.h')
-rw-r--r--Source/SPFieldMapperController.h32
1 files changed, 31 insertions, 1 deletions
diff --git a/Source/SPFieldMapperController.h b/Source/SPFieldMapperController.h
index a1d8d4fa..21a34f0e 100644
--- a/Source/SPFieldMapperController.h
+++ b/Source/SPFieldMapperController.h
@@ -23,10 +23,40 @@
// More info at <http://code.google.com/p/sequel-pro/>
#import <Cocoa/Cocoa.h>
+#import <MCPKit/MCPKit.h>
-@interface SPFieldMapperController : NSObject {
+
+@interface SPFieldMapperController : NSWindowController {
+
+ IBOutlet id fieldMapperView;
+ IBOutlet id fieldMapperTableView;
+ IBOutlet id tableTargetPopup;
+ IBOutlet id fileSourcePath;
+ IBOutlet id importMethodPopup;
+ IBOutlet id rowUpButton;
+ IBOutlet id rowDownButton;
+ IBOutlet id recordCountLabel;
+
+ id theDelegate;
+
+ NSInteger fieldMappingCurrentRow;
+ NSArray *fieldMappingImportArray;
+ NSArray *fieldMappingArray;
+
+ BOOL fieldMappingImportArrayIsPreview;
+
+ MCPConnection *mySQLConnection;
}
+- (id)initWithDelegate:(id)managerDelegate;
+
+- (void)setConnection:(MCPConnection *)theConnection;
+
+// IBAction methods
+- (IBAction)changeTableTarget:(id)sender;
+- (IBAction)changeImportMethod:(id)sender;
+- (IBAction)stepRow:(id)sender;
+
@end