aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-18 01:29:17 +0000
committerrowanbeentje <rowan@beent.je>2010-03-18 01:29:17 +0000
commit48f80fe6342b14913ffbebf5449895ff9d5e9af8 (patch)
tree5b98ec4570c28cc209a4ec701cb9e1aded7ac9d3 /Source/SPConnectionController.h
parenta8dc3ac2af642fb59c8fbed12c3a28038ef3a175 (diff)
downloadsequelpro-48f80fe6342b14913ffbebf5449895ff9d5e9af8.tar.gz
sequelpro-48f80fe6342b14913ffbebf5449895ff9d5e9af8.tar.bz2
sequelpro-48f80fe6342b14913ffbebf5449895ff9d5e9af8.zip
- Fix a couple of calls which crashed if the window had already been closed, fixing window close on query startup or after queries; this fixes http://log.sequelpro.com/view/9
- Fix an exception caused in the NavigatorController if the dbstructure has not been fetched yet
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r--Source/SPConnectionController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h
index f2c6ba9a..b1cc541e 100644
--- a/Source/SPConnectionController.h
+++ b/Source/SPConnectionController.h
@@ -58,6 +58,7 @@
SPSSHTunnel *sshTunnel;
MCPConnection *mySQLConnection;
BOOL automaticFavoriteSelection;
+ BOOL cancellingConnection;
NSInteger previousType;
NSInteger type;
@@ -131,6 +132,7 @@
- (void)initiateSSHTunnelConnection;
- (void)sshTunnelCallback:(SPSSHTunnel *)theTunnel;
- (void)initiateMySQLConnection;
+- (void)cancelConnection;
- (void)failConnectionWithTitle:(NSString *)theTitle errorMessage:(NSString *)theErrorMessage detail:(NSString *)errorDetail;
- (void)errorSheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(NSString *)contextInfo;
- (void)addConnectionToDocument;