aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDump.h
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2009-01-04 20:18:00 +0000
committermltownsend <mltownsend@gmail.com>2009-01-04 20:18:00 +0000
commit164cbbd373ab8bff9c592f4e0b41dd1bcc33bab1 (patch)
tree43b9256f2dd59f5ad7f114c67488dcb839b1049e /Source/TableDump.h
parent59d5ba6ad98d2424752c3e78103262160281fe52 (diff)
downloadsequelpro-164cbbd373ab8bff9c592f4e0b41dd1bcc33bab1.tar.gz
sequelpro-164cbbd373ab8bff9c592f4e0b41dd1bcc33bab1.tar.bz2
sequelpro-164cbbd373ab8bff9c592f4e0b41dd1bcc33bab1.zip
Added cancel button to the import/export progress sheet. Also added importing on a separate thread.
Diffstat (limited to 'Source/TableDump.h')
-rw-r--r--Source/TableDump.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/Source/TableDump.h b/Source/TableDump.h
index 22b123af..c8648eb4 100644
--- a/Source/TableDump.h
+++ b/Source/TableDump.h
@@ -94,6 +94,7 @@
NSString *savePath;
NSString *openPath;
NSUserDefaults *prefs;
+ BOOL progressCancelled;
}
//IBAction methods
@@ -101,15 +102,13 @@
- (IBAction)selectTables:(id)sender;
- (IBAction)closeSheet:(id)sender;
- (IBAction)stepRow:(id)sender;
-//- (IBAction)chooseDumpType:(id)sender;
-
+- (IBAction)cancelProgressBar:(id)sender;
//export methods
//- (IBAction)saveDump:(id)sender;
- (void)exportFile:(int)tag;
- (void)savePanelDidEnd:(NSSavePanel *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo;
//import methods
-//- (IBAction)openDump:(id)sender;
- (void)importFile;
- (IBAction)changeFormat:(id)sender;
- (IBAction)changeTable:(id)sender;
@@ -139,16 +138,6 @@
//additional methods
- (void)setConnection:(CMMCPConnection *)theConnection;
-//tableView datasource methods
-- (int)numberOfRowsInTableView:(NSTableView *)aTableView;
-- (id)tableView:(NSTableView *)aTableView
- objectValueForTableColumn:(NSTableColumn *)aTableColumn
- row:(int)rowIndex;
-- (void)tableView:(NSTableView *)aTableView
- setObjectValue:(id)anObject
- forTableColumn:(NSTableColumn *)aTableColumn
- row:(int)rowIndex;
-
//last but not least
- (id)init;
- (void)dealloc;