From 8c27fbba193596ae2123bb8fc30e6d7041f44a83 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Fri, 29 Oct 2010 14:33:32 +0000 Subject: Move SPConnectionController's delegate methods to their own protocol. --- Source/SPConnectionController.h | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'Source/SPConnectionController.h') 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 -#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 delegate; SPDatabaseDocument *tableDocument; NSView *databaseConnectionSuperview; @@ -144,7 +135,7 @@ SPFavoritesSortItem previousSortItem, currentSortItem; } -@property (readwrite, assign) id delegate; +@property (readwrite, assign) id delegate; @property (readwrite, assign) NSInteger type; @property (readwrite, retain) NSString *name; @property (readwrite, retain) NSString *host; -- cgit v1.2.3