[ADDED] User preference for default password type. [RENAMED] Secure type to Maximum Security. [FIXED] Logging bug in password generation. [ADDED] Confirmation popup after new user creation.
41 lines
797 B
Objective-C
41 lines
797 B
Objective-C
//
|
|
// MPElementEntities.h
|
|
// MasterPassword-iOS
|
|
//
|
|
// Created by Maarten Billemont on 31/05/12.
|
|
// Copyright (c) 2012 Lyndir. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "MPElementEntity.h"
|
|
#import "MPElementStoredEntity.h"
|
|
#import "MPElementGeneratedEntity.h"
|
|
#import "MPUserEntity.h"
|
|
|
|
#define MPAvatarCount 19
|
|
|
|
@interface MPElementEntity (MP)
|
|
|
|
@property (assign) MPElementType type;
|
|
@property (assign) NSUInteger uses;
|
|
|
|
- (NSUInteger)use;
|
|
- (NSString *)exportContent;
|
|
- (void)importContent:(NSString *)content;
|
|
|
|
@end
|
|
|
|
@interface MPElementGeneratedEntity (MP)
|
|
|
|
@property (assign) NSUInteger counter;
|
|
|
|
@end
|
|
|
|
@interface MPUserEntity (MP)
|
|
|
|
@property (assign) NSUInteger avatar;
|
|
@property (assign) BOOL saveKey;
|
|
@property (assign) MPElementType defaultType;
|
|
|
|
@end
|