diff options
author | stuconnolly <stuart02@gmail.com> | 2010-10-29 14:33:32 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-10-29 14:33:32 +0000 |
commit | 8c27fbba193596ae2123bb8fc30e6d7041f44a83 (patch) | |
tree | 35cb7e9729c1aa7814108eecfa8d3086b112fb80 /Source/SPConnectionController.h | |
parent | 497a0c7c9d30fe60763f54982b96b2cec8fa649a (diff) | |
download | sequelpro-8c27fbba193596ae2123bb8fc30e6d7041f44a83.tar.gz sequelpro-8c27fbba193596ae2123bb8fc30e6d7041f44a83.tar.bz2 sequelpro-8c27fbba193596ae2123bb8fc30e6d7041f44a83.zip |
Move SPConnectionController's delegate methods to their own protocol.
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r-- | Source/SPConnectionController.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h index 28f6f1bd..3dd0563e 100644 --- a/Source/SPConnectionController.h +++ b/Source/SPConnectionController.h @@ -25,11 +25,9 @@ #import <MCPKit/MCPKit.h> -#import "SPDatabaseDocument.h" -#import "SPKeychain.h" -#import "SPSSHTunnel.h" +#import "SPConnectionControllerDelegate.h" -@class BWAnchoredButtonBar; +@class SPDatabaseDocument, SPKeychain, SPSSHTunnel, BWAnchoredButtonBar; @interface NSObject (BWAnchoredButtonBar) @@ -37,13 +35,6 @@ @end -@interface NSObject (SPConnectionControllerDelegate) - -- (void)connectionControllerInitiatingConnection:(id)controller; -- (void)connectionControllerConnectAttemptFailed:(id)controller; - -@end - @interface SPFlippedView : NSView - (BOOL)isFlipped; @@ -52,7 +43,7 @@ @interface SPConnectionController : NSObject { - id delegate; + id <SPConnectionControllerDelegate> delegate; SPDatabaseDocument *tableDocument; NSView *databaseConnectionSuperview; @@ -144,7 +135,7 @@ SPFavoritesSortItem previousSortItem, currentSortItem; } -@property (readwrite, assign) id delegate; +@property (readwrite, assign) id <SPConnectionControllerDelegate> delegate; @property (readwrite, assign) NSInteger type; @property (readwrite, retain) NSString *name; @property (readwrite, retain) NSString *host; |