line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package File::KeePass::KDBX::Tie::CustomIcons; |
2
|
|
|
|
|
|
|
# ABSTRACT: Database custom icons |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
996
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
95
|
|
5
|
2
|
|
|
2
|
|
12
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
52
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
9
|
use parent 'File::KeePass::KDBX::Tie::Hash'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
8
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.902'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub keys { |
12
|
14
|
|
|
14
|
0
|
62
|
my $self = shift; |
13
|
14
|
|
|
|
|
43
|
my ($kdbx) = @$self; |
14
|
14
|
|
|
|
|
23
|
return [map { $_->{uuid} } @{$kdbx->custom_icons}]; |
|
0
|
|
|
|
|
0
|
|
|
14
|
|
|
|
|
41
|
|
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
0
|
0
|
|
sub default_getter { my $uuid = $_[1]; sub { $_[0]->custom_icon($uuid)->{data} } } |
|
0
|
|
|
0
|
|
|
|
|
0
|
|
|
|
|
|
|
18
|
0
|
|
|
0
|
0
|
|
sub default_setter { my $uuid = $_[1]; sub { $_[0]->custom_icon($uuid, $_) } } |
|
0
|
|
|
0
|
|
|
|
|
0
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |