aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDump.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-04-10 18:16:25 +0000
committerBibiko <bibiko@eva.mpg.de>2010-04-10 18:16:25 +0000
commit1bf7220ca576a3c09b9d9e53e24e0c6f30f15850 (patch)
tree1e9981cbf9585cbc008182edb30f8be6a4f7b979 /Source/TableDump.h
parent3b59093cd3d5be30a809bdc6bb9f3ba63c9ce275 (diff)
downloadsequelpro-1bf7220ca576a3c09b9d9e53e24e0c6f30f15850.tar.gz
sequelpro-1bf7220ca576a3c09b9d9e53e24e0c6f30f15850.tar.bz2
sequelpro-1bf7220ca576a3c09b9d9e53e24e0c6f30f15850.zip
• added "Import from Clipboard" ⌥⇧⌘I
- sheet showing the first 4kB of pasteboard content and the SQL/CSV accessory view - pasteboard content will be saved as temp file and read by using the current table/connection encoding
Diffstat (limited to 'Source/TableDump.h')
-rw-r--r--Source/TableDump.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/TableDump.h b/Source/TableDump.h
index 6a6a34b0..af621f68 100644
--- a/Source/TableDump.h
+++ b/Source/TableDump.h
@@ -74,6 +74,10 @@
IBOutlet id importLinesTerminatedField;
IBOutlet id importFieldMapperSheetWindow;
+ IBOutlet id importFromClipboardSheet;
+ IBOutlet NSTextView *importFromClipboardTextView;
+ IBOutlet id importFromClipboardAccessoryView;
+
IBOutlet id addDropTableSwitch;
IBOutlet id addCreateTableSwitch;
IBOutlet id addTableContentSwitch;
@@ -133,11 +137,12 @@
// Import methods
- (void)importFile;
+- (void)importFromClipboard;
- (void)importSQLFile:(NSString *)filename;
- (void)startSQLImportProcessWithFile:(NSString *)filename;
- (void)importCSVFile:(NSString *)filename;
- (IBAction)changeFormat:(id)sender;
-- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(NSInteger)returnCode contextInfo:(NSString *)contextInfo;
+- (void)openPanelDidEnd:(id)sheet returnCode:(NSInteger)returnCode contextInfo:(NSString *)contextInfo;
- (BOOL) buildFieldMappingArrayWithData:(NSArray *)importData isPreview:(BOOL)dataIsPreviewData ofSoureFile:(NSString*)filename;
- (NSString *) mappedValueStringForRowArray:(NSArray *)csvRowArray;
- (NSString *) mappedUpdateSetStatementStringForRowArray:(NSArray *)csvRowArray;