Video.rss
上传用户:xinrui0099
上传日期:2010-03-05
资源大小:48k
文件大小:8k
源码类别:

Symbian

开发平台:

C/C++

  1. /*
  2. * ============================================================================
  3. *  Name     : Video.rss
  4. *  Part of  : Video
  5. *  Created  : 10/14/2003 by Forum Nokia
  6. *  Description:
  7. *     This file contains all the resources for the Video.
  8. *  Version  :
  9. *  Copyright: Nokia Corporation, 2003
  10. * ============================================================================
  11. */
  12. //  RESOURCE IDENTIFIER
  13. NAME    VIDE  // 4 letter ID
  14. //  INCLUDES
  15. #include <eikon.rh>
  16. #include "video.hrh"
  17. #include "video.loc"
  18. #include <avkon.rsg>
  19. #include <avkon.rh>
  20. #include <avkon.mbg>
  21. #include <avkon.loc>
  22. //  RESOURCE DEFINITIONS 
  23. RESOURCE RSS_SIGNATURE { }
  24. RESOURCE TBUF { buf = "Video"; }
  25. RESOURCE EIK_APP_INFO
  26.     {
  27.     hotkeys = r_video_hotkeys;
  28.     menubar = r_video_menubar;
  29.     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
  30.     status_pane = r_video_status_pane;
  31.     }
  32. //----------------------------------------------------
  33. //   
  34. //    r_video_pause_stop
  35. // 
  36. //
  37. //----------------------------------------------------
  38. // 
  39. RESOURCE CBA r_video_pause_stop
  40. {
  41. buttons = 
  42.     {
  43. CBA_BUTTON { id=EVideoCmdAppPause; txt = qtn_video_pause; },
  44. CBA_BUTTON { id=EVideoCmdAppStop; txt = qtn_video_stop; }
  45. } ;
  46. }
  47. //----------------------------------------------------
  48. //   
  49. //    r_video_continue_return
  50. // 
  51. //
  52. //----------------------------------------------------
  53. // 
  54. RESOURCE CBA r_video_continue_return
  55. {
  56. buttons = 
  57. {
  58. CBA_BUTTON { id=EVideoCmdAppContinue; txt = qtn_video_continue; },
  59. CBA_BUTTON { id=EVideoCmdAppReturn; txt = qtn_video_return; }
  60. } ;
  61. }
  62. //----------------------------------------------------
  63. //   
  64. //    r_video_status_pane
  65. //
  66. //----------------------------------------------------
  67. //
  68. RESOURCE STATUS_PANE_APP_MODEL r_video_status_pane
  69.     {
  70.     layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL;
  71.     panes =
  72.         {
  73.         SPANE_PANE
  74.             {
  75.             id = EEikStatusPaneUidTitle;
  76.             type = EAknCtTitlePane;
  77.             resource = r_video_title_pane;
  78.             }
  79.         };
  80.     }
  81. //----------------------------------------------------
  82. //   
  83. //    r_video_tittle_pane
  84. //
  85. //----------------------------------------------------
  86. //
  87. RESOURCE TITLE_PANE r_video_title_pane
  88.     {
  89.     txt = qtn_video_main_title;
  90.     }
  91. //----------------------------------------------------
  92. //   
  93. //    r_video_hotkeys
  94. //
  95. //----------------------------------------------------
  96. //
  97. RESOURCE HOTKEYS r_video_hotkeys
  98.     {
  99.     control =
  100.         {
  101.         HOTKEY { command = EAknCmdExit; key='e'; }
  102.         };
  103.     }
  104. //----------------------------------------------------
  105. //   
  106. //    r_video_menubar
  107. //
  108. //----------------------------------------------------
  109. //
  110. RESOURCE MENU_BAR r_video_menubar
  111.     {
  112.     titles =
  113.         {
  114.         MENU_TITLE { menu_pane = r_video_menu; txt = "File"; }
  115.         };
  116.     }
  117. //----------------------------------------------------
  118. //   
  119. //    r_video_menu
  120. //
  121. //----------------------------------------------------
  122. //
  123. RESOURCE MENU_PANE r_video_menu
  124.     {
  125.     items =
  126.         {
  127.         MENU_ITEM { command = EVideoCmdAppPlay; txt = qtn_appl_play; },
  128.         MENU_ITEM { command = EVideoCmdAppStop; txt = qtn_appl_stop; },
  129.         MENU_ITEM { command = EVideoCmdAppPause; txt = qtn_appl_pause; },
  130.         MENU_ITEM { command = EVideoCmdAppDocPlay; txt = qtn_appl_docplay; },
  131.         MENU_ITEM { command = EVideoCmdAppDocFileInfo; txt = qtn_appl_file_info; },
  132.         MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
  133.         };
  134.     }
  135. // ---------------------------------------------------
  136. //
  137. //    r_video_time_text_layout
  138. //
  139. // ---------------------------------------------------
  140. //
  141. RESOURCE AVKON_LAYOUT_TEXT r_video_time_text_layout
  142.     {
  143.     font = ELatinBold12; C=0; l=43; r=4; B=13; W=73; J=ELayoutAlignRight;
  144.     }
  145. //----------------------------------------------------
  146. //   
  147. //    r_video_navi_time
  148. //
  149. //----------------------------------------------------
  150. //
  151. RESOURCE TBUF256  r_video_navi_time 
  152.     { 
  153.     buf = qtn_video_sep_slash; 
  154.     }
  155. // ---------------------------------------------------
  156. //
  157. //    r_video_file_details
  158. //
  159. // ---------------------------------------------------
  160. //
  161. RESOURCE TBUF256 r_video_file_details
  162.     {
  163.     buf = qtn_video_fd_headings;
  164.     }
  165. // ---------------------------------------------------
  166. //
  167. //    r_video_file_details_row_format
  168. //
  169. // ---------------------------------------------------
  170. //
  171. RESOURCE TBUF256 r_video_file_details_row_format
  172.     {
  173.     buf = "%0Ut%1U"; 
  174.     }
  175. // ---------------------------------------------------
  176. //
  177. //    r_video_file_title_heading
  178. //
  179. // ---------------------------------------------------
  180. //
  181. RESOURCE TBUF256 r_video_file_title_heading
  182.     {
  183.     buf = qtn_video_fd_title;
  184.     }
  185. // ---------------------------------------------------
  186. //
  187. //    r_video_file_name_heading
  188. //
  189. // ---------------------------------------------------
  190. //
  191. RESOURCE TBUF256 r_video_file_name_heading
  192.     {
  193.     buf = qtn_video_fd_filename;
  194.     }
  195. // ---------------------------------------------------
  196. //
  197. //    r_video_file_url_heading
  198. //
  199. // ---------------------------------------------------
  200. //
  201. RESOURCE TBUF256 r_video_file_url_heading
  202.     {
  203.     buf = qtn_video_filedetails_url;
  204.     }
  205. // ---------------------------------------------------
  206. //
  207. //    r_video_file_format_heading
  208. //
  209. // ---------------------------------------------------
  210. //
  211. RESOURCE TBUF256 r_video_file_format_heading
  212.     {
  213.     buf = qtn_video_details_format;
  214.     }
  215. // ---------------------------------------------------
  216. //
  217. //    r_video_file_resolution_heading
  218. //
  219. // ---------------------------------------------------
  220. //
  221. RESOURCE TBUF256 r_video_file_resolution_heading
  222.     {
  223.     buf = qtn_video_details_resolution;
  224.     }
  225. // ---------------------------------------------------
  226. //
  227. //    r_video_file_resolution_heading
  228. //
  229. // ---------------------------------------------------
  230. //
  231. RESOURCE TBUF256 r_video_file_resolution
  232.     {
  233.     buf = qtn_video_times_indic;
  234.     }
  235. // ---------------------------------------------------
  236. //
  237. //    r_video_file_duration_heading
  238. //
  239. // ---------------------------------------------------
  240. //
  241. RESOURCE TBUF256 r_video_file_duration_heading
  242.     {
  243.     buf = qtn_video_details_duration;
  244.     }
  245. // ---------------------------------------------------
  246. //
  247. //    r_video_file_bitrate_heading
  248. //
  249. // ---------------------------------------------------
  250. //
  251. RESOURCE TBUF256 r_video_file_bitrate_heading
  252.     {
  253.     buf = qtn_video_details_bitrate;
  254.     }
  255. // ---------------------------------------------------
  256. //
  257. //    r_mp_file_bitrate
  258. //
  259. // ---------------------------------------------------
  260. //
  261. RESOURCE TBUF256 r_video_file_bitrate
  262.     {
  263.     buf = qtn_video_bitrate_kbps;
  264.     }
  265. // ---------------------------------------------------
  266. //
  267. //    r_video_file_size_heading
  268. //
  269. // ---------------------------------------------------
  270. //
  271. RESOURCE TBUF256 r_video_file_size_heading
  272.     {
  273.     buf = qtn_video_details_size;
  274.     }
  275. // ---------------------------------------------------
  276. //
  277. //    r_video_file_size_kb
  278. //
  279. // ---------------------------------------------------
  280. //
  281. RESOURCE TBUF256 r_video_file_size_kb
  282.     {
  283.     buf = qtn_video_size_kb;
  284.     }
  285. // ---------------------------------------------------
  286. //
  287. //    r_video_file_size_mb
  288. //
  289. // ---------------------------------------------------
  290. //
  291. RESOURCE TBUF256 r_video_file_size_mb
  292.     {
  293.     buf = qtn_video_size_mb;
  294.     }
  295. // ---------------------------------------------------
  296. //
  297. //    r_video_file_date_heading
  298. //
  299. // ---------------------------------------------------
  300. //
  301. RESOURCE TBUF256 r_video_file_date_heading
  302.     {
  303.     buf = qtn_video_details_date;
  304.     }
  305. // ---------------------------------------------------
  306. //
  307. //    r_video_file_date_heading
  308. //
  309. // ---------------------------------------------------
  310. //
  311. RESOURCE TBUF256 r_video_file_time_heading
  312.     {
  313.     buf = qtn_video_details_time;
  314.     }
  315. // ---------------------------------------------------
  316. //
  317. //    r_video_file_date_heading
  318. //
  319. // ---------------------------------------------------
  320. //
  321. RESOURCE TBUF256 r_video_file_copyright_heading
  322.     {
  323.     buf = qtn_video_details_copyright;
  324.     }
  325. //----------------------------------------------------
  326. //   
  327. //    r_video_navi_time
  328. //
  329. //----------------------------------------------------
  330. //
  331. RESOURCE TBUF256  r__video_navi_time 
  332.     { 
  333.     buf = qtn_video_sep_slash; 
  334.     }