-
Notifications
You must be signed in to change notification settings - Fork 13
/
Kdb4Node.h
65 lines (52 loc) · 1.78 KB
/
Kdb4Node.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//
// Kdb4Node.h
// KeePass2
//
// Created by Qiang Yu on 2/23/10.
// Copyright 2010 Qiang Yu. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Node.h"
#import "Kdb.h"
#import "Tree.h"
@interface Kdb4Group : Node<KdbGroup> {
NSString * _uuid;
uint32_t _image;
NSString * _title;
NSString * _comment;
NSMutableArray * _subGroups;
NSMutableArray * _entries;
}
@property(nonatomic, retain) NSString * _uuid;
@property(nonatomic, assign) uint32_t _image;
@property(nonatomic, retain, getter=getGroupName, setter=setGroupName) NSString * _title;
@property(nonatomic, retain) NSString * _comment;
@property(nonatomic, retain, getter=getSubGroups) NSMutableArray * _subGroups;
@property(nonatomic, retain, getter=getEntries) NSMutableArray * _entries;
@end
@interface Kdb4Entry: Node<KdbEntry>{
NSString * _uuid;
uint32_t _image;
NSString * _title;
NSString * _url;
NSString * _username;
NSString * _password;
NSString * _comment;
NSArray * _customeAttributeKeys;
NSMutableDictionary * _customeAttributes;
}
@property(nonatomic, retain) NSString * _uuid;
@property(nonatomic, assign) uint32_t _image;
@property(nonatomic, retain, getter=getEntryName, setter=setEntryName) NSString * _title;
@property(nonatomic, retain, getter=getUserName, setter=setUserName) NSString * _username;
@property(nonatomic, retain, getter=getPassword, setter=setPassword) NSString * _password;
@property(nonatomic, retain, getter=getComments, setter=setComments) NSString * _comment;
@property(nonatomic, retain, getter=getURL, setter=setURL) NSString * _url;
@property(nonatomic, retain) NSArray * _customeAttributeKeys;
@end
@interface Kdb4Tree:Tree<KdbTree>{
NSMutableDictionary * _meta;
}
@property(nonatomic, retain) NSMutableDictionary * _meta;
-(NSString *)getMetaInfo:(NSString *)key;
@end