2012-06-04 11:27:02 +02:00
|
|
|
//
|
|
|
|
// 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"
|
|
|
|
|
2012-06-06 00:59:09 +02:00
|
|
|
#define MPAvatarCount 19
|
|
|
|
|
2012-06-04 11:27:02 +02:00
|
|
|
@interface MPElementEntity (MP)
|
|
|
|
|
2012-06-05 00:55:02 +02:00
|
|
|
@property (assign) MPElementType type;
|
2012-06-08 23:46:13 +02:00
|
|
|
@property (assign) NSUInteger uses;
|
2012-06-05 00:55:02 +02:00
|
|
|
|
|
|
|
- (NSUInteger)use;
|
2012-06-04 11:27:02 +02:00
|
|
|
- (NSString *)exportContent;
|
|
|
|
- (void)importContent:(NSString *)content;
|
|
|
|
|
|
|
|
@end
|
2012-06-05 00:55:02 +02:00
|
|
|
|
|
|
|
@interface MPElementGeneratedEntity (MP)
|
|
|
|
|
|
|
|
@property (assign) NSUInteger counter;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface MPUserEntity (MP)
|
|
|
|
|
|
|
|
@property (assign) NSUInteger avatar;
|
2012-06-08 23:46:13 +02:00
|
|
|
@property (assign) BOOL saveKey;
|
2012-06-11 16:15:49 +02:00
|
|
|
@property (assign) MPElementType defaultType;
|
2012-06-05 00:55:02 +02:00
|
|
|
|
|
|
|
@end
|