aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-11-09 18:19:12 +0000
committerstuconnolly <stuart02@gmail.com>2010-11-09 18:19:12 +0000
commit1af63b378e644ceef6e26918b0a1d693bcc232f8 (patch)
tree8bbf8a8e07266bbff51d35dca1d89a0c41c97016 /Source/SPConnectionController.h
parentd10ca821ae2f3ab62daf92f5e9bde58bf796e36c (diff)
downloadsequelpro-1af63b378e644ceef6e26918b0a1d693bcc232f8.tar.gz
sequelpro-1af63b378e644ceef6e26918b0a1d693bcc232f8.tar.bz2
sequelpro-1af63b378e644ceef6e26918b0a1d693bcc232f8.zip
First changes towards changing the initial connection view's favorites table list to an outline view in order to support grouping favorites. Future changes include creating a favorites data controller, including migrating favorites storage to their own plist in the app support directory as well as support for grouping favorites.
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r--Source/SPConnectionController.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h
index 3dd0563e..2a618fad 100644
--- a/Source/SPConnectionController.h
+++ b/Source/SPConnectionController.h
@@ -25,9 +25,9 @@
#import <MCPKit/MCPKit.h>
-#import "SPConnectionControllerDelegate.h"
+#import "SPConnectionControllerDelegateProtocol.h"
-@class SPDatabaseDocument, SPKeychain, SPSSHTunnel, BWAnchoredButtonBar;
+@class SPDatabaseDocument, SPKeychain, SPSSHTunnel, BWAnchoredButtonBar, SPFavoriteNode;
@interface NSObject (BWAnchoredButtonBar)
@@ -43,7 +43,7 @@
@interface SPConnectionController : NSObject
{
- id <SPConnectionControllerDelegate> delegate;
+ id <SPConnectionControllerDelegateProtocol> delegate;
SPDatabaseDocument *tableDocument;
NSView *databaseConnectionSuperview;
@@ -133,9 +133,11 @@
BOOL mySQLConnectionCancelled;
SPFavoritesSortItem previousSortItem, currentSortItem;
+
+ SPFavoriteNode *favoritesRoot;
}
-@property (readwrite, assign) id <SPConnectionControllerDelegate> delegate;
+@property (readwrite, assign) id <SPConnectionControllerDelegateProtocol> delegate;
@property (readwrite, assign) NSInteger type;
@property (readwrite, retain) NSString *name;
@property (readwrite, retain) NSString *host;