Changeset 897

Show
Ignore:
Timestamp:
05/21/03 20:57:04
Author:
miyagawa
Message:

0.11

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • HTTP-MobileAgent/trunk/lib/HTTP/MobileAgent/DoCoMo.pm

    r890 r897  
    1515 
    1616# various preferences 
    17 use vars qw($DefaultCacheSize $HTMLVerMap $FOMAHTMLVersion); 
     17use vars qw($DefaultCacheSize $HTMLVerMap $GPSModels); 
    1818$DefaultCacheSize = 5; 
    1919 
     
    2828    qr/505i/ => '5.0', 
    2929]; 
     30 
     31$GPSModels = { map { $_ => 1 } qw(F661i) }; 
    3032 
    3133sub is_docomo { 1 } 
     
    130132} 
    131133 
     134sub is_gps { 
     135    my $self = shift; 
     136    return exists $GPSModels->{$self->model}; 
     137} 
     138 
    1321391; 
    133140__END__ 
  • HTTP-MobileAgent/trunk/lib/HTTP/MobileAgent/DoCoMoDisplayMap.pm

    r890 r897  
    245245    'color' => 1 
    246246  }, 
     247  'D505i' => { 
     248    'width' => 240, 
     249    'height' => 270, 
     250    'depth' => 262144, 
     251    'color' => 1 
     252  }, 
    247253  'N210i' => { 
    248254    'width' => 118,