aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-09-08 21:36:11 +0000
committerrowanbeentje <rowan@beent.je>2010-09-08 21:36:11 +0000
commitf7a69e2454ca3dd1f1a62875522e9fb3dea572b3 (patch)
tree847d2a915dfd496382977fc64799222057a923e3 /Source/SPConnectionController.h
parent3f6aa841dd77af2cf8f2818c91cd186aec2ca5e0 (diff)
downloadsequelpro-f7a69e2454ca3dd1f1a62875522e9fb3dea572b3.tar.gz
sequelpro-f7a69e2454ca3dd1f1a62875522e9fb3dea572b3.tar.bz2
sequelpro-f7a69e2454ca3dd1f1a62875522e9fb3dea572b3.zip
- Add support for SSH identity files (public keys) in custom locations
- Update localisable strings - Fix initial window position
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r--Source/SPConnectionController.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h
index 4c8a0a9d..67bdb77b 100644
--- a/Source/SPConnectionController.h
+++ b/Source/SPConnectionController.h
@@ -80,8 +80,10 @@
NSString *sshHost;
NSString *sshUser;
NSString *sshPassword;
+ int sshKeyLocationEnabled;
+ NSString *sshKeyLocation;
NSString *sshPort;
-@private NSString *favoritesPBoardType;
+ @private NSString *favoritesPBoardType;
NSString *connectionKeychainItemName;
NSString *connectionKeychainItemAccount;
@@ -109,6 +111,7 @@
IBOutlet NSSecureTextField *socketPasswordField;
IBOutlet NSSecureTextField *sshPasswordField;
IBOutlet NSSecureTextField *sshSSHPasswordField;
+ IBOutlet NSButton *sshSSHKeyButton;
IBOutlet NSButton *addToFavoritesButton;
IBOutlet NSButton *connectButton;
@@ -135,6 +138,8 @@
@property (readwrite, retain) NSString *sshHost;
@property (readwrite, retain) NSString *sshUser;
@property (readwrite, retain) NSString *sshPassword;
+@property (readwrite, assign) int sshKeyLocationEnabled;
+@property (readwrite, retain) NSString *sshKeyLocation;
@property (readwrite, retain) NSString *sshPort;
@property (readwrite, retain) NSString *connectionKeychainItemName;
@@ -158,6 +163,7 @@
- (void)addConnectionToDocument;
// Interface interaction
+- (IBAction)chooseSSHKey:(id)sender;
- (IBAction)editFavorites:(id)sender;
- (IBAction)showHelp:(id)sender;
- (void)resizeTabViewToConnectionType:(NSUInteger)theType animating:(BOOL)animate;