diff options
author | stuconnolly <stuart02@gmail.com> | 2010-11-09 18:19:12 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-11-09 18:19:12 +0000 |
commit | 1af63b378e644ceef6e26918b0a1d693bcc232f8 (patch) | |
tree | 8bbf8a8e07266bbff51d35dca1d89a0c41c97016 /Source/SPConnectionController.h | |
parent | d10ca821ae2f3ab62daf92f5e9bde58bf796e36c (diff) | |
download | sequelpro-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.h | 10 |
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; |