examples/ForumNokia/InternetEmail/data/InternetEmail.rss

00001 /*
00002  * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
00003  *    
00004  * Redistribution and use in source and binary forms, with or without
00005  * modification, are permitted provided that the following conditions are met:
00006  *    
00007  *  * Redistributions of source code must retain the above copyright notice, this
00008  *    list of conditions and the following disclaimer.
00009  *  * Redistributions in binary form must reproduce the above copyright notice,
00010  *    this list of conditions and the following disclaimer in the documentation
00011  *    and/or other materials provided with the distribution.
00012  *  * Neither the name of Nokia Corporation nor the names of its contributors
00013  *    may be used to endorse or promote products derived from this software
00014  *    without specific prior written permission.
00015  *    
00016  *    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00017  *    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00018  *    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00019  *    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00020  *    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00021  *    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00022  *    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00023  *    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00024  *    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00025  *    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026  *    
00027  *    Description:  
00028  */
00029 
00030 //  RESOURCE IDENTIFIER
00031 NAME    INEM // 4 letter ID
00032 
00033 //  INCLUDES
00034 
00035 #include <eikon.rh>
00036 #include <avkon.rh>
00037 #include <avkon.rsg>
00038 #include <avkon.mbg>
00039 #include <appinfo.rh>
00040 #include "internetemail.hrh"
00041 #include "internetemail.rls"
00042 
00043 
00044 
00045 //  CONSTANTS  
00046 
00047 //  MACROS  
00048 
00049 //  RESOURCE DEFINITIONS 
00050 
00051 RESOURCE RSS_SIGNATURE { }
00052 
00053 RESOURCE TBUF { buf="InternetEmail"; }
00054 
00055 // ---------------------------------------------------------
00056 //   
00057 //    Define default menu and CBA key.
00058 //
00059 // ---------------------------------------------------------
00060 //
00061 RESOURCE EIK_APP_INFO
00062     {
00063     hotkeys=r_internetemail_hotkeys;
00064     menubar=r_internetemail_menubar;
00065     cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;     
00066     }
00067 
00068 
00069 //----------------------------------------------------
00070 //   
00071 //    r_internetemail_localisable_app_info
00072 //
00073 //----------------------------------------------------
00074 //
00075 RESOURCE LOCALISABLE_APP_INFO r_internetemail_localisable_app_info
00076     {
00077     short_caption = rls_app_short_caption_string;
00078     caption_and_icon = 
00079     CAPTION_AND_ICON_INFO
00080         {
00081         caption = rls_app_caption_string;
00082         number_of_icons = 2;
00083         icon_file = rls_app_icon_name_string;
00084         
00085     };
00086     }
00087 
00088 
00089 //----------------------------------------------------
00090 //   
00091 //    r_internetemail_hotkeys
00092 //    ?description
00093 //
00094 //----------------------------------------------------
00095 //
00096 RESOURCE HOTKEYS r_internetemail_hotkeys
00097     {
00098     control=
00099         {
00100         HOTKEY { command=EAknCmdExit; key='e'; }
00101         };
00102     }
00103 
00104 //----------------------------------------------------
00105 //   
00106 //    r_internetemail_menubar
00107 //    ?description
00108 //
00109 //----------------------------------------------------
00110 //
00111 RESOURCE MENU_BAR r_internetemail_menubar
00112     {
00113     titles=
00114         {
00115         MENU_TITLE { menu_pane=r_internetemail_menu; txt=rls_app_menu_file_string; }
00116         };
00117     }
00118 
00119 //----------------------------------------------------
00120 //   
00121 //    r_internetemail_menu
00122 //     Two custom but common commands
00123 //
00124 //----------------------------------------------------
00125 //
00126 RESOURCE MENU_PANE r_internetemail_menu
00127     {
00128     items=
00129         {
00130         MENU_ITEM { command=EInternetEmailCmdFetch; txt=rls_app_fetch_string;},
00131         MENU_ITEM { command=EInternetEmailCmdProtocol; cascade=r_internetemail_protocol_menu_cascade;txt=rls_app_setprotocol_string; },
00132         MENU_ITEM { command=EAknCmdExit; txt=rls_app_menu_exit_string; }
00133         };
00134     }
00135 
00136 //----------------------------------------------------
00137 //   
00138 //    r_internetemail_app_menu
00139 //     Two basic commands which dont need localization
00140 //
00141 //----------------------------------------------------
00142 //
00143 RESOURCE MENU_PANE r_internetemail_protocol_menu_cascade
00144     {
00145     items=
00146         {
00147         MENU_ITEM { command=EInternetEmailCmdSetPop;  txt=rls_app_menu_POP3_string; },
00148         MENU_ITEM { command=EInternetEmailCmdSetImap; txt=rls_app_menu_IMAP4_string;}
00149         };
00150     }
00151 
00152 //----------------------------------------------------
00153 //   
00154 //    resource note
00155 //     Custom dialog definition for wait note dialog
00156 //
00157 //----------------------------------------------------
00158 //
00159 RESOURCE DIALOG r_wait_note
00160     {
00161     flags = EAknWaitNoteFlags;
00162     buttons = R_AVKON_SOFTKEYS_CANCEL;
00163     items = 
00164         {
00165         DLG_LINE
00166             {
00167             type = EAknCtNote;
00168             id   = EWaitNote;
00169             control = AVERELL_NOTE
00170                 {
00171                 layout = EWaitLayout;
00172                 singular_label = rls_app_waitnote;
00173                 imagefile = rls_app_sysresource_name_string;
00174                 imageid = EMbmAvkonQgn_note_copy;
00175                 imagemask = EMbmAvkonQgn_note_copy_mask;
00176                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
00177                 };
00178             }
00179         };
00180     }
00181 
00182 //----------------------------------------------------
00183 //   
00184 //    strings
00185 //     Two localized strings
00186 //
00187 //----------------------------------------------------
00188 //
00189 RESOURCE TBUF64 R_NO_POP3_DEFINED
00190     { 
00191     buf=rls_app_nopop3defined_string; 
00192     }            
00193 
00194 RESOURCE TBUF64 R_NO_IMAP4_DEFINED
00195     { 
00196     buf=rls_app_noimap4defined_string; 
00197     }            
00198 
00199 RESOURCE TBUF80 R_RESOURCE_NAME_DEFINED
00200     { 
00201     buf=rls_app_resource_name_string; 
00202     }
00203 
00204 RESOURCE TBUF80 R_RESOURCE_BODY_NAME_DEFINED
00205     { 
00206     buf=rls_app_resource_body_name_string; 
00207     }
00208 
00209 RESOURCE TBUF80 R_ICON_NAME_DEFINED
00210     { 
00211     buf=rls_app_icon_name_string; 
00212     }
00213 // End of File

Generated by  doxygen 1.6.2