mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 01:28:50 -05:00
16 lines
402 B
Plaintext
16 lines
402 B
Plaintext
|
my $emoji = do 'Emoticon.pl';
|
||
|
use YAML;
|
||
|
|
||
|
|
||
|
for my $carrier qw(docomo softbank kddi) {
|
||
|
|
||
|
print "\t\t// Emoji for $carrier\n";
|
||
|
|
||
|
for $codepoint (keys %{$emoji->{$carrier}}) {
|
||
|
print "\t\tcase 0x$codepoint: \n";
|
||
|
print "\t\t\t".'buf.append("<img src=\"file:///android_asset/emoticons/'.$emoji->{$carrier}->{$codepoint}.'.gif\" alt=\"'.$emoji->{$carrier}->{$codepoint}.'\">'.");\n\t\t\tbreak;\n";
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|