examples/ForumNokia/InternetEmail/data/InternetEmail.rss

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 //  RESOURCE IDENTIFIER
00006 NAME    INEM // 4 letter ID
00007 
00008 //  INCLUDES
00009 
00010 #include <eikon.rh>
00011 #include <avkon.rh>
00012 #include <avkon.rsg>
00013 #include <avkon.mbg>
00014 #include <appinfo.rh>
00015 #include "internetemail.hrh"
00016 #include "internetemail.rls"
00017 
00018 
00019 
00020 //  CONSTANTS  
00021 
00022 //  MACROS  
00023 
00024 //  RESOURCE DEFINITIONS 
00025 
00026 RESOURCE RSS_SIGNATURE { }
00027 
00028 RESOURCE TBUF { buf="InternetEmail"; }
00029 
00030 // ---------------------------------------------------------
00031 //   
00032 //    Define default menu and CBA key.
00033 //
00034 // ---------------------------------------------------------
00035 //
00036 RESOURCE EIK_APP_INFO
00037     {
00038     hotkeys=r_internetemail_hotkeys;
00039     menubar=r_internetemail_menubar;
00040     cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;     
00041     }
00042 
00043 
00044 //----------------------------------------------------
00045 //   
00046 //    r_internetemail_localisable_app_info
00047 //
00048 //----------------------------------------------------
00049 //
00050 RESOURCE LOCALISABLE_APP_INFO r_internetemail_localisable_app_info
00051     {
00052     short_caption = rls_app_short_caption_string;
00053     caption_and_icon = 
00054     CAPTION_AND_ICON_INFO
00055         {
00056         caption = rls_app_caption_string;
00057         number_of_icons = 2;
00058         icon_file = rls_app_icon_name_string;
00059         
00060     };
00061     }
00062 
00063 
00064 //----------------------------------------------------
00065 //   
00066 //    r_internetemail_hotkeys
00067 //    ?description
00068 //
00069 //----------------------------------------------------
00070 //
00071 RESOURCE HOTKEYS r_internetemail_hotkeys
00072     {
00073     control=
00074         {
00075         HOTKEY { command=EAknCmdExit; key='e'; }
00076         };
00077     }
00078 
00079 //----------------------------------------------------
00080 //   
00081 //    r_internetemail_menubar
00082 //    ?description
00083 //
00084 //----------------------------------------------------
00085 //
00086 RESOURCE MENU_BAR r_internetemail_menubar
00087     {
00088     titles=
00089         {
00090         MENU_TITLE { menu_pane=r_internetemail_menu; txt=rls_app_menu_file_string; }
00091         };
00092     }
00093 
00094 //----------------------------------------------------
00095 //   
00096 //    r_internetemail_menu
00097 //     Two custom but common commands
00098 //
00099 //----------------------------------------------------
00100 //
00101 RESOURCE MENU_PANE r_internetemail_menu
00102     {
00103     items=
00104         {
00105         MENU_ITEM { command=EInternetEmailCmdFetch; txt=rls_app_fetch_string;},
00106         MENU_ITEM { command=EInternetEmailCmdProtocol; cascade=r_internetemail_protocol_menu_cascade;txt=rls_app_setprotocol_string; },
00107         MENU_ITEM { command=EAknCmdExit; txt=rls_app_menu_exit_string; }
00108         };
00109     }
00110 
00111 //----------------------------------------------------
00112 //   
00113 //    r_internetemail_app_menu
00114 //     Two basic commands which dont need localization
00115 //
00116 //----------------------------------------------------
00117 //
00118 RESOURCE MENU_PANE r_internetemail_protocol_menu_cascade
00119     {
00120     items=
00121         {
00122         MENU_ITEM { command=EInternetEmailCmdSetPop;  txt=rls_app_menu_POP3_string; },
00123         MENU_ITEM { command=EInternetEmailCmdSetImap; txt=rls_app_menu_IMAP4_string;}
00124         };
00125     }
00126 
00127 //----------------------------------------------------
00128 //   
00129 //    resource note
00130 //     Custom dialog definition for wait note dialog
00131 //
00132 //----------------------------------------------------
00133 //
00134 RESOURCE DIALOG r_wait_note
00135     {
00136     flags = EAknWaitNoteFlags;
00137     buttons = R_AVKON_SOFTKEYS_CANCEL;
00138     items = 
00139         {
00140         DLG_LINE
00141             {
00142             type = EAknCtNote;
00143             id   = EWaitNote;
00144             control = AVERELL_NOTE
00145                 {
00146                 layout = EWaitLayout;
00147                 singular_label = rls_app_waitnote;
00148                 imagefile = rls_app_sysresource_name_string;
00149                 imageid = EMbmAvkonQgn_note_copy;
00150                 imagemask = EMbmAvkonQgn_note_copy_mask;
00151                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
00152                 };
00153             }
00154         };
00155     }
00156 
00157 //----------------------------------------------------
00158 //   
00159 //    strings
00160 //     Two localized strings
00161 //
00162 //----------------------------------------------------
00163 //
00164 RESOURCE TBUF64 R_NO_POP3_DEFINED
00165     { 
00166     buf=rls_app_nopop3defined_string; 
00167     }            
00168 
00169 RESOURCE TBUF64 R_NO_IMAP4_DEFINED
00170     { 
00171     buf=rls_app_noimap4defined_string; 
00172     }            
00173 
00174 RESOURCE TBUF80 R_RESOURCE_NAME_DEFINED
00175     { 
00176     buf=rls_app_resource_name_string; 
00177     }
00178 
00179 RESOURCE TBUF80 R_RESOURCE_BODY_NAME_DEFINED
00180     { 
00181     buf=rls_app_resource_body_name_string; 
00182     }
00183 
00184 RESOURCE TBUF80 R_ICON_NAME_DEFINED
00185     { 
00186     buf=rls_app_icon_name_string; 
00187     }
00188 // End of File

Generated by  doxygen 1.6.2