aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r--Source/SPConnectionController.h17
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;