| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package RecentInfo::Application 0.04; |
|
2
|
2
|
|
|
2
|
|
38
|
use 5.020; |
|
|
2
|
|
|
|
|
7
|
|
|
3
|
2
|
|
|
2
|
|
11
|
use Moo 2; |
|
|
2
|
|
|
|
|
29
|
|
|
|
2
|
|
|
|
|
21
|
|
|
4
|
2
|
|
|
2
|
|
821
|
use experimental 'signatures'; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
14
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
RecentInfo::Application - recent files application XBEL entry |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=cut |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has ['name', 'exec'] => ( |
|
13
|
|
|
|
|
|
|
is => 'ro', |
|
14
|
|
|
|
|
|
|
required => 1 |
|
15
|
|
|
|
|
|
|
); |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
has ['modified', 'count'] => ( |
|
18
|
|
|
|
|
|
|
is => 'rw', |
|
19
|
|
|
|
|
|
|
required => 1 |
|
20
|
|
|
|
|
|
|
); |
|
21
|
|
|
|
|
|
|
|
|
22
|
7
|
|
|
7
|
0
|
11
|
sub as_XML_fragment($self, $doc) { |
|
|
7
|
|
|
|
|
9
|
|
|
|
7
|
|
|
|
|
9
|
|
|
|
7
|
|
|
|
|
9
|
|
|
23
|
7
|
|
|
|
|
27
|
my $app = $doc->createElement('bookmark:application'); |
|
24
|
7
|
|
|
|
|
27
|
$app->setAttribute("name" => $self->name); |
|
25
|
7
|
|
|
|
|
68
|
$app->setAttribute("exec" => $self->exec); |
|
26
|
7
|
|
|
|
|
57
|
$app->setAttribute("modified" => $self->modified); |
|
27
|
7
|
|
|
|
|
53
|
$app->setAttribute("count" => $self->count); |
|
28
|
7
|
|
|
|
|
62
|
return $app |
|
29
|
|
|
|
|
|
|
} |
|
30
|
|
|
|
|
|
|
|
|
31
|
16
|
|
|
16
|
0
|
32
|
sub from_XML_fragment( $class, $frag ) { |
|
|
16
|
|
|
|
|
27
|
|
|
|
16
|
|
|
|
|
27
|
|
|
|
16
|
|
|
|
|
23
|
|
|
32
|
16
|
|
|
|
|
45
|
$class->new( |
|
33
|
|
|
|
|
|
|
name => $frag->getAttribute('name'), |
|
34
|
|
|
|
|
|
|
exec => $frag->getAttribute('exec'), |
|
35
|
|
|
|
|
|
|
modified => $frag->getAttribute('modified'), |
|
36
|
|
|
|
|
|
|
count => $frag->getAttribute('count'), |
|
37
|
|
|
|
|
|
|
); |
|
38
|
|
|
|
|
|
|
} |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 REPOSITORY |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
The public repository of this module is |
|
45
|
|
|
|
|
|
|
L. |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 SUPPORT |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
The public support forum of this module is L. |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 BUG TRACKER |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Please report bugs in this module via Github |
|
54
|
|
|
|
|
|
|
at L |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 AUTHOR |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Max Maischein C |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 COPYRIGHT (c) |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Copyright 2024-2024 by Max Maischein C. |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 LICENSE |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This module is released under the same terms as Perl itself. |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=cut |
|
69
|
|
|
|
|
|
|
|