File: phone.h

package info (click to toggle)
chdrv 1.0.13-0.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,204 kB
  • ctags: 1,069
  • sloc: ansic: 8,972; perl: 412; asm: 234; makefile: 195; sh: 36
file content (24 lines) | stat: -rw-r--r-- 491 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __PHONE_H
#define __PHONE_H

WORD char_to_phone[] = {
0xa374,0xa375,0xa376,0xa377,0xa378,0xa379,0xa37a,0xa37b,0xa37c,0xa37d,0xa37e,
0xa3a1,0xa3a2,0xa3a3,0xa3a4,0xa3a5,0xa3a6,0xa3a7,0xa3a8,0xa3a9,0xa3aa,
0xa3b8,0xa3b9,0xa3ba,0xa3ab,0xa3ac,0xa3ad,0xa3ae,0xa3af,0xa3b0,
0xa3b1,0xa3b2,0xa3b3,0xa3b4,0xa3b5,0xa3b6,0xa3b7
};	 

typedef struct {
  char seqs[4];
  union {
    WORD big5;
    char code[2];
  } chinese;
} PHONE;
  
typedef union {
  char seqs[4];
  int key;
}PHcode;

#endif