line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::MobileAgent::AirHPhone; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
41
|
use strict; |
|
9
|
|
|
|
|
10
|
|
|
9
|
|
|
|
|
323
|
|
4
|
9
|
|
|
9
|
|
40
|
use vars qw($VERSION); |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
434
|
|
5
|
|
|
|
|
|
|
$VERSION = 0.19; |
6
|
|
|
|
|
|
|
|
7
|
9
|
|
|
9
|
|
43
|
use base qw(HTTP::MobileAgent); |
|
9
|
|
|
|
|
13
|
|
|
9
|
|
|
|
|
2211
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
__PACKAGE__->make_accessors( |
10
|
|
|
|
|
|
|
qw(vendor model model_version browser_version cache_size) |
11
|
|
|
|
|
|
|
); |
12
|
|
|
|
|
|
|
|
13
|
2
|
|
|
2
|
0
|
2273
|
sub is_airh_phone { 1 } |
14
|
|
|
|
|
|
|
|
15
|
0
|
|
|
0
|
1
|
0
|
sub carrier { 'H' } |
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
0
|
1
|
0
|
sub carrier_longname { 'AirH' } |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
1
|
664
|
sub name { 'DDIPOCKET' } |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub parse { |
22
|
2
|
|
|
2
|
0
|
4
|
my $self = shift; |
23
|
2
|
|
|
|
|
19
|
my $ua = $self->user_agent; |
24
|
2
|
50
|
|
|
|
19
|
$ua =~ m!^Mozilla/3\.0\(DDIPOCKET;(.*)\)CNF/2\.0$! or $self->no_match; |
25
|
2
|
|
|
|
|
17
|
@{$self}{qw(vendor model model_version browser_version cache_size)} = split m!/!, $1; |
|
2
|
|
|
|
|
13
|
|
26
|
2
|
|
|
|
|
22
|
$self->{cache_size} =~ s/^c//; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
0
|
|
|
sub _make_display { |
30
|
|
|
|
|
|
|
# XXX |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
__END__ |