line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# Author : Maxime Soule |
3
|
|
|
|
|
|
|
# Created On : Wed Jun 2 11:41:30 2004 |
4
|
|
|
|
|
|
|
# Last Modified By: Maxime Soule |
5
|
|
|
|
|
|
|
# Last Modified On: Mon May 3 14:55:16 2010 |
6
|
|
|
|
|
|
|
# Update Count : 17 |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# Copyright (C) 2005, Maxime Soulé |
9
|
|
|
|
|
|
|
# You may distribute this file under the terms of the Artistic |
10
|
|
|
|
|
|
|
# License, as specified in the README file. |
11
|
|
|
|
|
|
|
# |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
package Palm::MaTirelire::ExternalCurrencies; |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
1326
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
7
|
use Palm::BlockPack; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
6
|
use Palm::MaTirelire::DBItem; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
20
|
|
|
|
|
|
|
|
21
|
1
|
|
|
1
|
|
43
|
use base qw(Palm::MaTirelire::DBItem); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
278
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
our $VERSION = '1.0'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# Each record |
27
|
|
|
|
|
|
|
my $RECORD_BLOCK = Palm::BlockPack->new |
28
|
|
|
|
|
|
|
('N' => [ 'integer_part' => 1 ], |
29
|
|
|
|
|
|
|
'N' => [ 'decimal_part' => 0 ], |
30
|
|
|
|
|
|
|
'N' => [ 'decimal_factor' => 1 ], |
31
|
|
|
|
|
|
|
'N' => [ 'euros' => 1 ], |
32
|
|
|
|
|
|
|
'Z4' => [ 'iso4217' => '???' ], |
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub import |
37
|
|
|
|
|
|
|
{ |
38
|
1
|
|
|
1
|
|
10
|
&Palm::PDB::RegisterPDBHandlers(__PACKAGE__, [ "MaT2", 'CurX' ]); |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub meta_infos ($) |
43
|
|
|
|
|
|
|
{ |
44
|
0
|
|
|
0
|
0
|
|
return { name => "MaTi-ExternalCurrencies", |
45
|
|
|
|
|
|
|
type => "CurX", |
46
|
|
|
|
|
|
|
record_block => $RECORD_BLOCK, |
47
|
|
|
|
|
|
|
}; |
48
|
|
|
|
|
|
|
} |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; |
51
|
|
|
|
|
|
|
__END__ |