EbookDefs.h
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:9k
源码类别:

MTK

开发平台:

C/C++

  1. #define  _MMI_EBOOKDEFS_H
  2. #include "MMI_features.h"
  3. #include "PixtelDataTypes.h"
  4. typedef enum
  5. {
  6.     EBOOK_SCREENID = EBOOK_BASE + 1,
  7.     EBOOK_SELECT_DRIVE_SCREEN_ID,
  8.     EBOOK_OPEN_OPTION_SCREENID,
  9.     EBOOK_BOOKSHELF_SCREENID,
  10.     EBOOK_OPEN_SCREENID,
  11.     EBOOK_INFO_SCREENID,
  12.     EBOOK_SEARCH_SCREENID,
  13.     EBOOK_SEARCH_STR_SCREENID,
  14.     EBOOK_JUMPTO_SCREENID,
  15.     EBOOK_SETTINGS_SCREEID,
  16.     EBOOK_BOOK_SETTINGS_SCREENID,
  17.     EBOOK_REMOVE_BOOKMARK_SCREENID,
  18.     EBOOK_GOTO_BOOKMARK_SCREENID,
  19.     EBOOK_BOOK_SETTINGS,
  20.     EBOOK_ADD_BOOK_MARK_SCREEN_ID,
  21.     EBOOK_JUMPTO_SCREEN_ID,
  22.     EBOOK_DUMMY_SCREEN_ID,
  23.     EBOOK_JUMPTO_DONE_SCREEN_ID,
  24.     EBOOK_BOOK_SHELF_SETTINGS_SCREEN_ID,
  25.     EBOOK_BOOK_SETTINGS_SCREEN_ID,
  26.     SCR_ID_EBOOK_WAITSCREEN,
  27.     SCR_EBOOK_ENTER_PERCENTAGE_SCREEN_ID,
  28.     DUMMY_SCREEN_ID,
  29.     SCR_EDIT_BOOK_MARK_NAME,
  30.     EBOOK_HELP_SCREEN
  31. } SCREENID_LIST_EBOOK;
  32. typedef enum
  33. {
  34.     EBOOK_TITLE_STRINGID = EBOOK_BASE + 1,
  35.     EBOOK_DRIVE_SELECT_TYPE,
  36.     STR_SETTINGS_PHONE_MEMORY,
  37.     STR_SETTINGS_CARD_MEMORY,
  38.     STR_SETTINGS_SELECT_MEMORY,
  39.     EBOOK_TITLE_BOOKSHELF,
  40.     EBOOK_BKSLF_OPTION,
  41.     STR_OPEN_CARD_DRV,
  42.     STR_OPEN_PRIVATE_DRV,
  43.     STR_REFRESH_EBOOK,
  44.     STR_OPEN_BOOK_OPTION,
  45.     STR_RENAME_BOOK_OPTIONS,
  46.     STR_OPEN_EBOOK,
  47.     STR_INFO_EBOOK,
  48.     STR_DELETE_EBOOK,
  49.     STR_HELP_EBOOK,
  50.     STR_SETTINGS_EBOOK,
  51.     STR_FIND_EBOOK,
  52.     STR_FIND_NEXT_EBOOK,
  53.     STR_JUMP_EBOOK,
  54.     STR_GOTO_BOOKMARK_EBOOK,
  55.     STR_ADD_BOOKMARK_EBOOK,
  56.     STR_RMV_BOOKMARK_EBOOK,
  57.     STR_BOOK_INFO_EBOOK,
  58.     STR_BOOK_SETTINGS_EBOOK,
  59.     STR_CLOSE_EBOOK,
  60.     STR_SRCH_CASE_EBOOK,
  61.     STR_SRCH_CASEIN_EBOOK,
  62.     STR_JMP_BEG_EBOOK,
  63.     STR_JMP_MID_EBOOK,
  64.     STR_JMP_END_EBOOK,
  65.     STR_JMP_PERCENTAGE_EBOOK,
  66.     STR_SETTINGS_FONT_STYLE,
  67.     STR_SETTINGS_FONT_SIZE,
  68.     STR_SETTINGS_SCROLL_BY,
  69.     STR_SETTINGS_AUTO_SCROLL,
  70.     STR_SETTINGS_AUTO_SCROLL_SPEED,
  71.     STR_SETTINGS_FULL_SCREEN,
  72.     STR_SETTINGS_ENCODING_FORMAT,
  73.     STR_SETTINGS_FONT_STYLE_BOLD,
  74.     STR_SETTINGS_FONT_STYLE_ITALIC,
  75.     STR_SETTINGS_FONT_STYLE_NORMAL,
  76.     STR_SETTINGS_FONT_SIZE_LARGE,
  77.     STR_SETTINGS_FONT_SIZE_SMALL,
  78.     STR_SETTINGS_FONT_SIZE_MEDIUM,
  79.     STR_SETTINGS_SCROLL_BY_PAGE,
  80.     STR_SETTINGS_SCROLL_BY_LINE,
  81.     STR_SETTINGS_AUTO_SCROLL_ON,
  82.     STR_SETTINGS_AUTO_SCROLL_OFF,
  83.     STR_SETTINGS_FULL_SCREEN_ON,
  84.     STR_SETTINGS_FULL_SCREEN_OFF,
  85.     STR_SETTINGS_AUTO_SCROLL_SPEED_1,
  86.     STR_SETTINGS_AUTO_SCROLL_SPEED_2,
  87.     STR_SETTINGS_AUTO_SCROLL_SPEED_3,
  88.     STR_SETTINGS_AUTO_SCROLL_SPEED_4,
  89.     STR_SETTINGS_AUTO_SCROLL_SPEED_5,
  90.     STR_EBOOK_BOOKMARK_ADDED,
  91.     STR_DELETED,
  92.     STR_MAX_BOOK_MARK,
  93.     STR_EBOOK_HELP_DESCRIPTION,
  94. STR_EBOOK_TOUCH_SCREEN_HELP,
  95.     STR_DELETE_EBOOK_CONFIRM,
  96.     STR_DELETE_BOOK_MARK,
  97.     STR_BOOK_SHELF_REFRESHED,
  98.     STR_DUPLICATE_BOOK_MARK,
  99.     STR_WRONG_PERCENTAGE_VALUE,
  100.     STR_FULL_SCREEN_OFF,
  101.     STR_FULL_SCREEN_ON,
  102.     STR_AUTO_SCROLL_ON,
  103.     STR_AUTO_SCROLL_OFF,
  104.     STR_SETTINGS_ENCODING_FORMAT_UCS2,
  105.     STR_SETTINGS_ENCODING_FORMAT_UTF8,
  106.     /* For File Manager */
  107.     STR_FMGR_EBOOK_OPTION,
  108.     STR_ADD_TO_BOOK_SHELF,
  109.     STR_ERROR_OPENINIG_BOOK,
  110.     STR_ADD_TO_EBOOK_FOLDER,
  111.     STR_OPEN_BOOK_ERROR,
  112.     STR_EBOOK_FORMAT_NOT_SUPPORTED,
  113.     STR_EBOOK_SEARCH_UN_SUCESSFULL,
  114.     STR_WAIT_STRING,
  115.     STR_PERCENTAGE_SCREEN,
  116.     STR_DELETE_ALL_EBOOK,
  117.     STR_RESTORE_DEFAULT,
  118.     STR_SUCESSFULL_RESTORE_DEFAULT,
  119.     STR_UNSUCESSFULL_RESTORE_DEFAULT,
  120.     STR_DELETE_ALL_EBOOK_CONFIRM,
  121.     STR_RESTORE_DEFAULT_SETTINGS,
  122.     STR_EBOOK_WAIT,
  123.     STR_CHANGE_CARD_TO_PHONE,
  124.     STR_CHANGE_PHONE_TO_CARD,
  125.     STR_MEMORY_TYPE_CHANGED,
  126.     STR_NO_BOOK_MARK_PRESENT,
  127.     STR_CONFIRM_SAVE_SETTINGS,
  128.     STR_BOOK_MARK_NAME_IS_EMPTY,
  129.     STR_EBOOK_INPUT_METHOD,
  130.     STR_EBOOK_DONE,
  131.     STR_BOOK_TOO_SMALL,
  132.     STR_EBOOK_LIST_LSK_EDIT,
  133.     STR_EBOOK_MEMORY_LESS,
  134.     STR_INCOMPLETE_SEARCH_STRING,
  135.     STR_EBOOK_BOOK_INFO_TITLE,
  136.     STR_EBOOK_BOOK_INFO_SIZE,
  137.     STR_EBOOK_BOOK_INFO_FORMAT,
  138. #ifdef __MMI_CHSET_BIG5__
  139.     STR_SETTINGS_ENCODING_FORMAT_BIG5,
  140. #endif 
  141. #ifdef __MMI_CHSET_GB2312__
  142.     STR_SETTINGS_ENCODING_FORMAT_GB2312,
  143. #endif /* __MMI_CHSET_GB2312__ */ 
  144. #ifdef __MMI_CHSET_TURKISH_ISO__
  145.     STR_SETTINGS_ENCODING_FORMAT_TURKISH_ISO,
  146. #endif 
  147. #ifdef __MMI_CHSET_TURKISH_WIN__
  148.     STR_SETTINGS_ENCODING_FORMAT_TURKISH_WIN,
  149. #endif 
  150. #ifdef __MMI_CHSET_BALTIC_ISO__
  151.     STR_SETTINGS_ENCODING_FORMAT_BALTIC_ISO,
  152. #endif 
  153. #ifdef __MMI_CHSET_BALTIC_WIN__
  154.     STR_SETTINGS_ENCODING_FORMAT_BALTIC_WIN,
  155. #endif 
  156. #ifdef __MMI_CHSET_CEURO_ISO__
  157.     STR_SETTINGS_ENCODING_FORMAT_CUEURO_ISO,
  158. #endif /* __MMI_CHSET_CEURO_ISO__ */ 
  159. #ifdef __MMI_CHSET_CEURO_WIN__
  160.     STR_SETTINGS_ENCODING_FORMAT_CUEURO_WIN,
  161. #endif 
  162. #ifdef __MMI_CHSET_GREEK_ISO__
  163.     STR_SETTINGS_ENCODING_FORMAT_GREEK_ISO,
  164. #endif 
  165. #ifdef __MMI_CHSET_GREEK_WIN__
  166.     STR_SETTINGS_ENCODING_FORMAT_GREEK_WIN,
  167. #endif 
  168. #ifdef __MMI_CHSET_HEBREW_ISO__
  169.     STR_SETTINGS_ENCODING_FORMAT_HEBREW_ISO,
  170. #endif 
  171. #ifdef __MMI_CHSET_LATIN_ISO__
  172.     STR_SETTINGS_ENCODING_FORMAT_LATIN_ISO,
  173. #endif 
  174. #ifdef __MMI_CHSET_NORDIC_ISO__
  175.     STR_SETTINGS_ENCODING_FORMAT_NORDIC_ISO,
  176. #endif 
  177. #ifdef __MMI_CHSET_SEURO_ISO__
  178.     STR_SETTINGS_ENCODING_FORMAT_SEURO_ISO,
  179. #endif /* __MMI_CHSET_SEURO_ISO__ */ 
  180. #ifdef __MMI_CHSET_WESTERN_ISO__
  181.     STR_SETTINGS_ENCODING_FORMAT_WESTERN_ISO,
  182. #endif 
  183. #ifdef __MMI_CHSET_WESTERN_WIN__
  184.     STR_SETTINGS_ENCODING_FORMAT_WESTERN_WIN,
  185. #endif 
  186. #ifdef __MMI_CHSET_ARABIC_ISO__
  187.     STR_SETTINGS_ENCODING_FORMAT_ARABIC_ISO,
  188. #endif /* __MMI_CHSET_ARABIC_ISO__ */ 
  189. #ifdef __MMI_CHSET_ARABIC_WIN__
  190.     STR_SETTINGS_ENCODING_FORMAT_ARABIC_WIN,
  191. #endif /* __MMI_CHSET_ARABIC_WIN__ */ 
  192. #ifdef __MMI_CHSET_HEBREW_WIN__
  193.     STR_SETTINGS_ENCODING_FORMAT_HEBREW_WIN,
  194. #endif 
  195.     STR_USB_IS_PLUGGED_IN,
  196.     STR_EBOOK_SEARCH_INVALID,
  197.     STR_SCR_EBOOK_TOTAL
  198. } STRINGID_LIST_EBOOK;
  199. typedef enum
  200. {
  201.     MAIN_MENU_EBOOK_ICON = EBOOK_BASE + 1,
  202.     EBOOK_TITLE_IMAGEID,
  203.     IMAGE_EBOOK_WAIT,
  204.     IMG_SCR_EBOOK_TOTAL
  205. } IMAGEID_LIST_EBOOK;
  206. typedef enum
  207. {
  208.     EBR_FONT_STYLE_NORMAL = 0,
  209.     EBR_FONT_STYLE_ITALIC,
  210.     EBR_FONT_STYLE_BOLD
  211. } ebr_font_style_enum;
  212. typedef enum
  213. {
  214.     EBR_FONT_SIZE_SMALL = 0,
  215.     EBR_FONT_SIZE_MEDIUM,
  216.     EBR_FONT_SIZE_LARGE
  217. } ebr_font_size_enum;
  218. typedef enum
  219. {
  220.     EBR_SCROLL_BY_LINE = 0,
  221.     EBR_SCROLL_BY_PAGE
  222. } ebr_scroll_type_enum;
  223. typedef enum
  224. {
  225.     EBR_AUTO_SCROLL_SPEED_1 = 0,
  226.     EBR_AUTO_SCROLL_SPEED_2,
  227.     EBR_AUTO_SCROLL_SPEED_3,
  228.     EBR_AUTO_SCROLL_SPEED_4,
  229.     EBR_AUTO_SCROLL_SPEED_5
  230. } ebr_scroll_speed_enum;
  231. typedef enum
  232. {
  233.     EBR_SCROLL_OFF = 0,
  234.     EBR_SCROLL_ON
  235. } ebr_scroll_status_enum;
  236. typedef enum
  237. {
  238.     EBR_FULL_SCREEN_OFF = 0,
  239.     EBR_FULL_SCREEN_ON
  240. } ebr_full_screen_status_enum;
  241. typedef enum
  242. {
  243.     EBOOK_WESTERN_WINDOWS,          /* windows-1252 */
  244.     EBOOK_UCS,
  245.     EBOOK_UTF8,
  246. #ifdef __MMI_CHSET_BIG5__
  247.     EBOOK_BIG5,             /* big5 */
  248. #endif 
  249. #ifdef __MMI_CHSET_GB2312__
  250.     EBOOK_GB2312,   /* gb2312 */
  251. #endif 
  252. #ifdef __MMI_CHSET_TURKISH_ISO__
  253.     EBOOK_TURKISH_ISO,
  254. #endif 
  255. #ifdef __MMI_CHSET_TURKISH_WIN__
  256.     EBOOK_TURKISH_WINDOWS,  /* windows-1254 */
  257. #endif 
  258. #ifdef __MMI_CHSET_BALTIC_ISO__
  259.     EBOOK_BALTIC_ISO,   /* iso-8859-13 */
  260. #endif 
  261. #ifdef __MMI_CHSET_BALTIC_WIN__
  262.     EBOOK_BALTIC_WINDOWS,   /* windows-1257 */
  263. #endif 
  264. #ifdef __MMI_CHSET_CEURO_ISO__
  265.     EBOOK_CENTRAL_EUROPEAN_ISO, /* iso-8859-2 */
  266. #endif 
  267. #ifdef __MMI_CHSET_CEURO_WIN__
  268.     EBOOK_CENTRAL_EUROPEAN_WINDOWS, /* windows-1250 */
  269. #endif 
  270. #ifdef __MMI_CHSET_GREEK_ISO__
  271.     EBOOK_GREEK_ISO,    /* iso-8859-7 */
  272. #endif 
  273. #ifdef __MMI_CHSET_GREEK_WIN__
  274.     EBOOK_GREEK_WINDOWS,    /* windows-1253 */
  275. #endif 
  276. #ifdef __MMI_CHSET_HEBREW_ISO__
  277.     EBOOK_HEBREW_ISO,   /* iso-8859-8-i */
  278. #endif 
  279. #ifdef __MMI_CHSET_HEBREW_WIN__
  280.     EBOOK_HEBREW_WINDOWS,   /* windows-1255 */
  281. #endif 
  282. #ifdef __MMI_CHSET_LATIN_ISO__
  283.     EBOOK_LATIN_ISO,    /* iso-8859-15 */
  284. #endif 
  285. #ifdef __MMI_CHSET_NORDIC_ISO__
  286.     EBOOK_NORDIC_ISO,   /* iso-8859-10 */
  287. #endif 
  288. #ifdef __MMI_CHSET_SEURO_ISO__
  289.     EBOOK_SOURTH_EUROPEAN_ISO,  /* iso-8859-3 */
  290. #endif 
  291. #ifdef __MMI_CHSET_WESTERN_ISO__
  292.     EBOOK_WESTERN_ISO,  /* iso-8859-1 */
  293. #endif 
  294. #ifdef __MMI_CHSET_ARABIC_ISO__
  295.     EBOOK_ARABIC_ISO,   /* iso-8859-6 */
  296. #endif 
  297. #ifdef __MMI_CHSET_ARABIC_WIN__
  298.     EBOOK_ARABIC_WINDOWS,   /* windows-1256 */
  299. #endif 
  300.     EBOOK_UNSPECIFIED_CHARSET,
  301.     MMI_EBOOK_MAX_CHARSET   /* internal used by e-mail protocol entity */
  302. } ebook_charset_enum;