diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-05 21:14:15 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-05 21:14:15 +0000 |
commit | ed4617c7fc292ac15a3cb340b2247d58793d3ca4 (patch) | |
tree | cc32cc3a93ed8a8001945d85d9242aa6a8d42682 /Source/TableDocument.h | |
parent | 493fb09f6169864726be9909907fa1b84b3d0a21 (diff) | |
download | sequelpro-ed4617c7fc292ac15a3cb340b2247d58793d3ca4.tar.gz sequelpro-ed4617c7fc292ac15a3cb340b2247d58793d3ca4.tar.bz2 sequelpro-ed4617c7fc292ac15a3cb340b2247d58793d3ca4.zip |
• open a SQL file via Finder or Terminal (open *.sql if SP is the default app for sql files) will insert the file content into the Custom Query editor of the current active doc
- this action starts SP and asks for a connection if it is not running
- same for drag&drop a SQL file onto SP's dock icon
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 c9510a33..4cf4e369 100644 --- a/Source/TableDocument.h +++ b/Source/TableDocument.h @@ -111,10 +111,14 @@ WebView *printWebView; NSMutableArray *allDatabases; + + NSString *queryEditorInitString; } - (NSString *)getHTMLforPrint; +- (void)initQueryEditorWithString:(NSString *)query; + // Connection callback and methods - (void) setConnection:(MCPConnection *)theConnection; - (void)setShouldAutomaticallyConnect:(BOOL)shouldAutomaticallyConnect; @@ -157,6 +161,7 @@ - (IBAction)closeSheet:(id)sender; - (IBAction)closeErrorConnectionSheet:(id)sender; - (void)doPerformQueryService:(NSString *)query; +- (void)doPerformLoadQueryService:(NSString *)query; - (void)flushPrivileges:(id)sender; - (void)showVariables:(id)sender; - (void)closeConnection; |