diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-04 19:14:36 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-04 19:14:36 +0000 |
commit | 4ce2164c519d4382b67255523c96c9e03f7fdcc6 (patch) | |
tree | 9e6dfab905735ecb5d30268248a52a9dc81db43a /Source/TableDocument.h | |
parent | 2b92e1f1ddefdde3d341b88f0f09421e05e02953 (diff) | |
download | sequelpro-4ce2164c519d4382b67255523c96c9e03f7fdcc6.tar.gz sequelpro-4ce2164c519d4382b67255523c96c9e03f7fdcc6.tar.bz2 sequelpro-4ce2164c519d4382b67255523c96c9e03f7fdcc6.zip |
• initial support for open/save connection files (*.spf)
- Open/Save menu items are hidden
• initial support for drag&drop files *.spf and *.sql to SP's icon or double-click at *.sql or *.spf files in Finder
- SP starts if not already running
- sql files will be executed in the Custom Query if at least one connection is open
- spf files not yet supported
-
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r-- | Source/TableDocument.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h index 29296e9b..c9510a33 100644 --- a/Source/TableDocument.h +++ b/Source/TableDocument.h @@ -162,6 +162,9 @@ - (void)closeConnection; - (NSWindow *)getCreateTableSyntaxWindow; - (void) refreshCurrentDatabase; +- (void)openConnectionPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo; +- (void)saveConnectionPanelDidEnd:(NSSavePanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo; + // Getter methods - (NSString *)name; @@ -177,6 +180,8 @@ // Menu methods - (BOOL)validateMenuItem:(NSMenuItem *)anItem; +- (IBAction)openConnectionSheet:(id)sender; +- (IBAction)saveConnectionSheet:(id)sender; - (IBAction)import:(id)sender; - (IBAction)export:(id)sender; - (IBAction)exportTable:(id)sender; |