diff options
author | Stuart Connolly <stuart02@gmail.com> | 2013-11-27 13:01:08 +0000 |
---|---|---|
committer | Stuart Connolly <stuart02@gmail.com> | 2013-11-27 13:01:08 +0000 |
commit | 51213783cb9d4b20902e5520524f594b9a084e66 (patch) | |
tree | 3955f1c60b352be58207d6396d3e463a9d5d1265 /Source/SPKeychain.h | |
parent | a065e67b1b8ae017f3831d870874f06e14f41f51 (diff) | |
download | sequelpro-51213783cb9d4b20902e5520524f594b9a084e66.tar.gz sequelpro-51213783cb9d4b20902e5520524f594b9a084e66.tar.bz2 sequelpro-51213783cb9d4b20902e5520524f594b9a084e66.zip |
Remove use of deprecated Keychain function.
Diffstat (limited to 'Source/SPKeychain.h')
-rw-r--r-- | Source/SPKeychain.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/SPKeychain.h b/Source/SPKeychain.h index 7c82cf97..4fa986c9 100644 --- a/Source/SPKeychain.h +++ b/Source/SPKeychain.h @@ -40,9 +40,10 @@ - (BOOL)passwordExistsForName:(NSString *)name account:(NSString *)account; - (void)updateItemWithName:(NSString *)name account:(NSString *)account toPassword:(NSString *)password; - (void)updateItemWithName:(NSString *)name account:(NSString *)account toName:(NSString *)newName account:(NSString *)newAccount password:(NSString *)password; -- (NSString *)nameForFavoriteName:(NSString *)theName id:(NSString *)theID; -- (NSString *)accountForUser:(NSString *)theUser host:(NSString *)theHost database:(NSString *)theDatabase; -- (NSString *)nameForSSHForFavoriteName:(NSString *)theName id:(NSString *)theID; -- (NSString *)accountForSSHUser:(NSString *)theSSHUser sshHost:(NSString *)theSSHHost; + +- (NSString *)nameForFavoriteName:(NSString *)favoriteName id:(NSString *)favoriteId; +- (NSString *)accountForUser:(NSString *)user host:(NSString *)host database:(NSString *)database; +- (NSString *)nameForSSHForFavoriteName:(NSString *)favoriteName id:(NSString *)favoriteId; +- (NSString *)accountForSSHUser:(NSString *)SSHUser sshHost:(NSString *)SSHHost; @end |