line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# Author : Maxime Soulé |
3
|
|
|
|
|
|
|
# Created On : Sun Aug 29 21:40:59 2004 |
4
|
|
|
|
|
|
|
# Last Modified By: Maxime Soule |
5
|
|
|
|
|
|
|
# Last Modified On: Mon May 3 14:55:52 2010 |
6
|
|
|
|
|
|
|
# Update Count : 2 |
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::Descriptions; |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
1231
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
36
|
|
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
|
24
|
use Palm::BlockPack; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
20
|
|
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
5
|
use Palm::MaTirelire::DBItem; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
20
|
|
|
|
|
|
|
|
21
|
1
|
|
|
1
|
|
48
|
use base qw(Palm::MaTirelire::DBItem); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
251
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
our $VERSION = '1.0'; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# Each record |
27
|
|
|
|
|
|
|
my $RECORD_BLOCK = Palm::BlockPack->new |
28
|
|
|
|
|
|
|
(UInt32 => [ |
29
|
|
|
|
|
|
|
[ 'sign:2' => 0 ], |
30
|
|
|
|
|
|
|
[ 'is_mode:1' => 0 ], |
31
|
|
|
|
|
|
|
[ 'mode:5' => 0 ], |
32
|
|
|
|
|
|
|
[ 'is_type:1' => 0 ], |
33
|
|
|
|
|
|
|
[ 'type:8' => 0 ], |
34
|
|
|
|
|
|
|
[ 'shortcut:8' => 0 ], |
35
|
|
|
|
|
|
|
[ 'cheque_num:1' => 0 ], |
36
|
|
|
|
|
|
|
[ 'auto_valid:1' => 0 ], |
37
|
|
|
|
|
|
|
[ 'reserved:*' => 0 ], |
38
|
|
|
|
|
|
|
], |
39
|
|
|
|
|
|
|
'Z12' => [ 'amount' => '' ], |
40
|
|
|
|
|
|
|
'Z16' => [ 'account' => '' ], |
41
|
|
|
|
|
|
|
'Z16' => [ 'xfer' => '' ], |
42
|
|
|
|
|
|
|
'Z24' => [ 'only_in_account' => '' ], |
43
|
|
|
|
|
|
|
'Z*' => [ 'name' => '' ], |
44
|
|
|
|
|
|
|
); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
sub import |
48
|
|
|
|
|
|
|
{ |
49
|
1
|
|
|
1
|
|
10
|
&Palm::PDB::RegisterPDBHandlers(__PACKAGE__, [ "MaT2", 'Desc' ]); |
50
|
|
|
|
|
|
|
} |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
sub meta_infos ($) |
54
|
|
|
|
|
|
|
{ |
55
|
0
|
|
|
0
|
0
|
|
return { name => "MaTi-Descriptions", |
56
|
|
|
|
|
|
|
type => "Desc", |
57
|
|
|
|
|
|
|
record_block => $RECORD_BLOCK, |
58
|
|
|
|
|
|
|
}; |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
1; |
62
|
|
|
|
|
|
|
__END__ |