diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-28 23:34:54 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-28 23:34:54 +0000 |
commit | 495e8fffa8c2455aaee97c78445feb71253dcd61 (patch) | |
tree | 270c5e3350dc43053c8da84cff3334f7178034e3 /Source/SPConnectionController.h | |
parent | 96e8c7492cb0b27173cbc3a56d703b100dad0e5a (diff) | |
download | sequelpro-495e8fffa8c2455aaee97c78445feb71253dcd61.tar.gz sequelpro-495e8fffa8c2455aaee97c78445feb71253dcd61.tar.bz2 sequelpro-495e8fffa8c2455aaee97c78445feb71253dcd61.zip |
• due to new minimum size of the connection pane rearranged help button
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r-- | Source/SPConnectionController.h | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h index d9e83410..01f4eab6 100644 --- a/Source/SPConnectionController.h +++ b/Source/SPConnectionController.h @@ -40,7 +40,9 @@ enum spconnection_types @class BWAnchoredButtonBar; @interface NSObject (BWAnchoredButtonBar) + - (void)setSplitViewDelegate:(id)splitViewDelegate; + @end @interface SPConnectionController : NSObject @@ -68,7 +70,7 @@ enum spconnection_types NSString *sshUser; NSString *sshPassword; NSString *sshPort; - + NSString *connectionKeychainItemName; NSString *connectionKeychainItemAccount; NSString *connectionSSHKeychainItemName; @@ -78,26 +80,28 @@ enum spconnection_types IBOutlet NSSplitView *connectionSplitView; IBOutlet BWAnchoredButtonBar *connectionSplitViewButtonBar; IBOutlet NSTableView *favoritesTable; - + IBOutlet NSWindow *errorDetailWindow; IBOutlet NSTextView *errorDetailText; - + IBOutlet NSView *connectionResizeContainer; IBOutlet NSView *standardConnectionFormContainer; IBOutlet NSView *socketConnectionFormContainer; IBOutlet NSView *sshConnectionFormContainer; - + IBOutlet NSTextField *standardSQLHostField; IBOutlet NSTextField *sshSQLHostField; IBOutlet NSSecureTextField *standardPasswordField; IBOutlet NSSecureTextField *socketPasswordField; IBOutlet NSSecureTextField *sshPasswordField; IBOutlet NSSecureTextField *sshSSHPasswordField; - + IBOutlet NSButton *addToFavoritesButton; IBOutlet NSButton *connectButton; + IBOutlet NSButton *helpButton; IBOutlet NSProgressIndicator *progressIndicator; IBOutlet NSTextField *progressIndicatorText; + } @property (readwrite, assign) int type; @@ -118,7 +122,7 @@ enum spconnection_types @property (readwrite, retain) NSString *connectionSSHKeychainItemName; @property (readwrite, retain) NSString *connectionSSHKeychainItemAccount; -- (id) initWithDocument:(TableDocument *)theTableDocument; +- (id)initWithDocument:(TableDocument *)theTableDocument; // Connection processes - (IBAction)initiateConnection:(id)sender; @@ -127,23 +131,23 @@ enum spconnection_types - (void)initiateMySQLConnection; - (void)failConnectionWithTitle:(NSString *)theTitle errorMessage:(NSString *)theErrorMessage detail:(NSString *)errorDetail; - (void)errorSheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; -- (void) addConnectionToDocument; +- (void)addConnectionToDocument; // Interface interaction -- (IBAction) editFavorites:(id)sender; -- (IBAction) showHelp:(id)sender; -- (void) resizeTabViewToConnectionType:(unsigned int)theType animating:(BOOL)animate; +- (IBAction)editFavorites:(id)sender; +- (IBAction)showHelp:(id)sender; +- (void)resizeTabViewToConnectionType:(unsigned int)theType animating:(BOOL)animate; // Connection details interaction -- (BOOL) checkHost; +- (BOOL)checkHost; // Favorites interaction -- (void) updateFavorites; -- (void) updateFavoriteSelection:(id)sender; -- (id) selectedFavorite; -- (IBAction) addFavorite:(id)sender; +- (void)updateFavorites; +- (void)updateFavoriteSelection:(id)sender; +- (id)selectedFavorite; +- (IBAction)addFavorite:(id)sender; -- (void) splitViewDidResizeSubviews:(NSNotification *)aNotification; +- (void)splitViewDidResizeSubviews:(NSNotification *)aNotification; @end |