diff options
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r-- | Source/SPConnectionController.h | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h index de517fdf..dda04343 100644 --- a/Source/SPConnectionController.h +++ b/Source/SPConnectionController.h @@ -42,7 +42,8 @@ SPSplitView #ifndef SP_REFACTOR /* class decl */ ,SPKeychain, - SPFavoriteNode + SPFavoriteNode, + SPFavoriteTextFieldCell #endif ; @@ -64,6 +65,8 @@ BOOL cancellingConnection; BOOL isConnecting; + BOOL isEditingConnection; + BOOL isTestingConnection; // Standard details NSInteger previousType; @@ -141,25 +144,31 @@ IBOutlet NSButton *socketSSLCertificateButton; IBOutlet NSButton *socketSSLCACertButton; - IBOutlet NSButton *addToFavoritesButton; IBOutlet NSButton *connectButton; + IBOutlet NSButton *testConnectButton; IBOutlet NSButton *helpButton; + IBOutlet NSButton *saveFavoriteButton; IBOutlet NSProgressIndicator *progressIndicator; IBOutlet NSTextField *progressIndicatorText; IBOutlet NSMenuItem *favoritesSortByMenuItem; IBOutlet NSView *exportPanelAccessoryView; - - BOOL isEditing; + IBOutlet NSView *editButtonsView; + + BOOL isEditingItemName; BOOL reverseFavoritesSort; BOOL initComplete; BOOL mySQLConnectionCancelled; - BOOL favoriteNameFieldWasTouched; + BOOL favoriteNameFieldWasAutogenerated; #ifndef SP_REFACTOR /* ivars */ NSArray *draggedNodes; NSImage *folderImage; SPTreeNode *favoritesRoot; + SPTreeNode *quickConnectItem; + + SPFavoriteTextFieldCell *quickConnectCell; + NSDictionary *currentFavorite; SPFavoritesController *favoritesController; SPFavoritesSortItem currentSortItem; @@ -198,6 +207,7 @@ #endif @property (readonly, assign) BOOL isConnecting; +@property (readonly, assign) BOOL isEditingConnection; // Connection processes - (IBAction)initiateConnection:(id)sender; @@ -211,18 +221,19 @@ - (IBAction)updateSSLInterface:(id)sender; - (IBAction)updateKeyLocationFileVisibility:(id)sender; - (void)updateSplitViewSize; + - (void)resizeTabViewToConnectionType:(NSUInteger)theType animating:(BOOL)animate; + - (IBAction)sortFavorites:(id)sender; - (IBAction)reverseSortFavorites:(NSMenuItem *)sender; -- (void)resizeTabViewToConnectionType:(NSUInteger)theType animating:(BOOL)animate; - // Favorites interaction - (void)updateFavoriteSelection:(id)sender; - (NSMutableDictionary *)selectedFavorite; - (SPTreeNode *)selectedFavoriteNode; - (NSArray *)selectedFavoriteNodes; +- (IBAction)saveFavorite:(id)sender; - (IBAction)addFavorite:(id)sender; - (IBAction)addFavoriteUsingCurrentDetails:(id)sender; - (IBAction)addGroup:(id)sender; |