diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-24 12:59:23 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-24 12:59:23 +0000 |
commit | f5a839db299b5b0b9a89fee8c3957584c976206b (patch) | |
tree | a04c2f23e047d8d50cd95d4f0d05711a156a6eb7 /Source/TableDocument.h | |
parent | 40880459c66165a264faa561319c996d82613fac (diff) | |
download | sequelpro-f5a839db299b5b0b9a89fee8c3957584c976206b.tar.gz sequelpro-f5a839db299b5b0b9a89fee8c3957584c976206b.tar.bz2 sequelpro-f5a839db299b5b0b9a89fee8c3957584c976206b.zip |
• finalized first approach to save/open SPF (⇧⌘S/⌘O)
- ask for encryption password in a sheet
- fixed retrieving password
Note: further tests are needed esp. for slow connections, connections via SSH and all combination of saving passwords Y/N, encrypt passwords Y/N.
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r-- | Source/TableDocument.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h index 17de1f03..c28673ac 100644 --- a/Source/TableDocument.h +++ b/Source/TableDocument.h @@ -97,6 +97,12 @@ IBOutlet id saveConnectionSavePassword; IBOutlet id saveConnectionEncrypt; IBOutlet NSSecureTextField *saveConnectionEncryptString; + + IBOutlet id inputTextWindow; + IBOutlet id inputTextWindowHeader; + IBOutlet id inputTextWindowMessage; + IBOutlet id inputTextWindowSecureTextField; + int passwordSheetReturnCode; SPConnectionController *connectionController; SPUserManager *userManagerInstance; @@ -183,6 +189,7 @@ - (void) refreshCurrentDatabase; - (void)saveConnectionPanelDidEnd:(NSSavePanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo; - (IBAction)saveConnectionAccessoryPasswordButton:(id)sender; +- (IBAction)closePasswordSheet:(id)sender; // Getter methods - (NSString *)name; |