diff options
author | rowanbeentje <rowan@beent.je> | 2013-02-12 23:58:48 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2013-02-12 23:58:48 +0000 |
commit | 3a440aa512f3524545dc0b1ec39362d052ed4806 (patch) | |
tree | 45de2be00d65783be807140f5c34d0ef7c51b554 /Source/SPConnectionHandler.m | |
parent | 74aa78f132d4339164d1722c9008c00981e81bf6 (diff) | |
download | sequelpro-3a440aa512f3524545dc0b1ec39362d052ed4806.tar.gz sequelpro-3a440aa512f3524545dc0b1ec39362d052ed4806.tar.bz2 sequelpro-3a440aa512f3524545dc0b1ec39362d052ed4806.zip |
- Fix warnings and logic bugs; thanks to Steven Frank for highlighting these
Diffstat (limited to 'Source/SPConnectionHandler.m')
-rw-r--r-- | Source/SPConnectionHandler.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/SPConnectionHandler.m b/Source/SPConnectionHandler.m index 0bbd4409..29c6e8fe 100644 --- a/Source/SPConnectionHandler.m +++ b/Source/SPConnectionHandler.m @@ -46,10 +46,17 @@ static NSString *SPLocalhostAddress = @"127.0.0.1"; @interface SPConnectionController () - (void)_restoreConnectionInterface; + +@end + +@interface SPConnectionController (SPConnectionHandlerPrivateAPI) + - (void)_showConnectionTestResult:(NSString *)resultString; @end +#pragma mark - + @implementation SPConnectionController (SPConnectionHandler) /** @@ -493,6 +500,12 @@ static NSString *SPLocalhostAddress = @"127.0.0.1"; } } +@end + +#pragma mark - + +@implementation SPConnectionController (SPConnectionHandlerPrivateAPI) + /** * Display a connection test error or success message */ |