S60ResourceLab.rss
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:3k
源码类别:

Symbian

开发平台:

C/C++

  1. // Copyright (c) 2006 Nokia Corporation.
  2. //  RESOURCE IDENTIFIER
  3. NAME S60R    // 4 letter ID
  4. //  INCLUDES
  5. #include <eikon.rh>
  6. #include <avkon.rh>
  7. #include <avkon.rsg>
  8. #include <appinfo.rh>
  9. #include "S60ResourceLab.hrh"
  10. #include "S60ResourceLab.rls"
  11. //  RESOURCE DEFINITIONS
  12. // -----------------------------------------------------------------------------
  13. //
  14. //    Define the resource file signature
  15. //    This resource should be empty.
  16. //
  17. // -----------------------------------------------------------------------------
  18. //
  19. RESOURCE RSS_SIGNATURE
  20.     {
  21.     }
  22. // -----------------------------------------------------------------------------
  23. //
  24. //    Default Document Name
  25. //
  26. // -----------------------------------------------------------------------------
  27. //
  28. RESOURCE TBUF r_default_document_name
  29.     {
  30.     buf="HEWB";
  31.     }
  32. // -----------------------------------------------------------------------------
  33. //
  34. //    Define default menu and CBA key.
  35. //
  36. // -----------------------------------------------------------------------------
  37. //
  38. RESOURCE EIK_APP_INFO
  39.     {
  40.     menubar=r_s60resourcelab_menubar;
  41.     cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
  42.     }
  43. //----------------------------------------------------
  44. //   
  45. //    r_s60resourcelab_menubar
  46. //
  47. //----------------------------------------------------
  48. //
  49. RESOURCE MENU_BAR r_s60resourcelab_menubar
  50.     {
  51.     titles=
  52.         {
  53.         MENU_TITLE { menu_pane=r_s60resourcelab_menu; txt=""; }
  54.         };
  55.     }
  56. //----------------------------------------------------
  57. //   
  58. //    r_s60resourcelab_menu
  59. //
  60. //----------------------------------------------------
  61. //
  62. RESOURCE MENU_PANE r_s60resourcelab_menu
  63.     {
  64.     items=
  65.         {
  66.         MENU_ITEM { command=EAknCmdExit;
  67.                     txt=qtn_s60resourcelab_text_goodbye; },
  68.         MENU_ITEM { command=ES60ResourceLabCmdAppTest;
  69.                     txt=qtn_s60resourcelab_text_everyone; }
  70.         };
  71.     }
  72. // -----------------------------------------------------------------------------
  73. //
  74. // Resources for messages.
  75. //
  76. // -----------------------------------------------------------------------------
  77. //
  78. RESOURCE TBUF r_s60resourcelab_text_goodbye
  79.     {
  80.     buf = qtn_s60resourcelab_text_goodbye;
  81.     }
  82. RESOURCE TBUF r_s60resourcelab_text_everyone
  83.     {
  84.     buf = qtn_s60resourcelab_text_everyone;
  85.     }
  86. // ---------------------------------------------------------------------------- 
  87. //
  88. // r_localisable_app_info
  89. //
  90. // ---------------------------------------------------------------------------- 
  91. //
  92. RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
  93.     {
  94.     short_caption = qtn_caption_string;
  95.     caption_and_icon = 
  96.     CAPTION_AND_ICON_INFO
  97.         {
  98.         caption = qtn_caption_string;
  99.         number_of_icons = 1;
  100.     icon_file = "\resource\apps\S60ResourceLab.mif";
  101.     };
  102.     }
  103. // End of File