Fixed #29 Application now stores the last open database by itself. If window restoration in OS X is disabled, the app also reopens the last db.

This commit is contained in:
michael starke
2013-07-21 14:14:05 +02:00
parent 1fd89bfab6
commit a6afe0bcf4
10 changed files with 449 additions and 164 deletions

View File

@@ -36,6 +36,13 @@ APPKIT_EXTERN NSString *const kMPSettingsKeyLegacyHidePassword;
APPKIT_EXTERN NSString *const kMPSettingsKeyLegacyHideNotes;
APPKIT_EXTERN NSString *const kMPSettingsKeyLegacyHideURL;
/* Document/Key Location store */
APPKIT_EXTERN NSString *const kMPSettingsKeyLastDatabasePath;
/*
APPKIT_EXTERN NSString *const kMPSettingsKeyLastKeyURL;
APPKIT_EXTERN NSString *const kMPSettingsKeyRememberLastKey;
*/
typedef NS_ENUM(NSUInteger, MPPasswordEncoding) {
MPPasswordEncodingUTF8,
MPPasswordEncodingASCII,