pushmtm/Data/PushMtmUi.rss
changeset 51 48e827313edd
parent 37 481242ead638
child 53 f427d27b98d8
equal deleted inserted replaced
37:481242ead638 51:48e827313edd
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Resources for the Mtm Ui Data
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 NAME PMTM
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include "PushMtmCommands.hrh"
       
    25 #include "PushMtmUi.hrh"
       
    26 #include <pushmtmui.loc>
       
    27 #include <eikon.rh>
       
    28 #include <uikon.rh>
       
    29 #include <uikon.hrh>
       
    30 #include <avkon.rh>
       
    31 #include <avkon.rsg>
       
    32 #include <avkon.loc>
       
    33 #include <mtud.rh>
       
    34 #include <MTMExtendedCapabilities.hrh>
       
    35 #include <bldvariant.hrh>
       
    36 #include <Muiu.mbg>
       
    37 
       
    38 //  RESOURCE DEFINITIONS 
       
    39 
       
    40 RESOURCE RSS_SIGNATURE { }
       
    41 
       
    42 //=============================================================================
       
    43 //
       
    44 // MTM UI Data framework related resources
       
    45 //
       
    46 //=============================================================================
       
    47 
       
    48 RESOURCE MTUD_FUNCTION_ARRAY r_push_mtm_ui_data_function_array
       
    49     {
       
    50     functions =
       
    51         {
       
    52         MTUD_FUNCTION
       
    53             {
       
    54             functiontext = qtn_mce_fetch;
       
    55             command = EPushMtmCmdLoadService;
       
    56             flags = EMtudContextSpecific | EMtudAsynchronous | 
       
    57 			        EMtudCommandTransferReceive;
       
    58             },
       
    59         MTUD_FUNCTION 
       
    60             {
       
    61             functiontext = qtn_mce_info;
       
    62             command = KMtmUiFunctionMessageInfo;
       
    63             flags = EMtudContextSpecific | EMtudAsynchronous | 
       
    64 			        EMtudCommandTransferReceive;
       
    65             },
       
    66         MTUD_FUNCTION
       
    67             {
       
    68             functiontext = qtn_mce_settings_push;
       
    69             command = KMtmUiMceSettings;
       
    70             flags = EMtudCommandTransferReceive;
       
    71             }
       
    72         };
       
    73     }
       
    74 
       
    75 //=============================================================================
       
    76 //
       
    77 // Push Settings Dialog related resources
       
    78 //
       
    79 //=============================================================================
       
    80 
       
    81 RESOURCE TITLE_PANE r_pushsd_title_pane
       
    82 	{
       
    83 	txt = qtn_mce_title_settings_push;
       
    84 	}
       
    85 
       
    86 RESOURCE CBA r_pushsd_softkeys
       
    87     {
       
    88     buttons =
       
    89 		{
       
    90 		CBA_BUTTON { id = EPushSettingsDialogCmdOptions; txt = text_softkey_option; },
       
    91 		CBA_BUTTON { id = EPushSettingsDialogCmdBack; txt = text_softkey_back; },
       
    92 		CBA_BUTTON { id = EPushSettingsDialogCmdChangeWithoutSettingPage; txt = qtn_msk_change; }
       
    93 		};
       
    94     }
       
    95 
       
    96 RESOURCE MENU_BAR r_pushsd_menu
       
    97     {
       
    98     titles=
       
    99         {
       
   100         MENU_TITLE { menu_pane = r_pushsd_options_menu_pane; }
       
   101         };
       
   102     }
       
   103 
       
   104 RESOURCE MENU_PANE r_pushsd_options_menu_pane
       
   105     {
       
   106     items=
       
   107         {
       
   108         MENU_ITEM
       
   109             {
       
   110             command = EPushSettingsDialogCmdChange;
       
   111             txt = qtn_mce_settings_change;
       
   112             },
       
   113 #ifdef __SERIES60_HELP
       
   114         MENU_ITEM
       
   115             {
       
   116             command = EPushSettingsDialogCmdHelp;
       
   117             txt = qtn_options_help;
       
   118             },
       
   119 #endif //__SERIES60_HELP
       
   120         MENU_ITEM
       
   121             {
       
   122             command = EPushSettingsDialogCmdAknExit;
       
   123             txt = qtn_mce_settings_exit;
       
   124             }
       
   125         };
       
   126     }
       
   127 
       
   128 RESOURCE ARRAY r_pushsd_listboxarray
       
   129 	{
       
   130 	items=
       
   131 		{
       
   132 		LBUF { txt = " \tIgnore this\t\tIgnore this"; }
       
   133 		};
       
   134 	}
       
   135 
       
   136 RESOURCE DIALOG r_pushsd_dialog
       
   137 	{
       
   138 	flags = EGeneralQueryFlags | EEikDialogFlagFillAppClientRect;
       
   139 	buttons = r_pushsd_softkeys;
       
   140    	items =
       
   141 		{
       
   142 		DLG_LINE
       
   143 			{
       
   144 			type = EAknCtSettingListBox;
       
   145 			itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   146 			id = EPushSettingsDialogCntrlListBox;
       
   147 			control = LISTBOX
       
   148 				{
       
   149 				flags = 0;
       
   150 				height = 3;
       
   151 				width = 80;
       
   152 				array_id = r_pushsd_listboxarray;
       
   153 				};
       
   154 			}
       
   155 		};
       
   156 	}
       
   157 
       
   158 RESOURCE TBUF r_pushsd_recept { buf = qtn_mce_settings_push_recept; }
       
   159 RESOURCE TBUF r_pushsd_recep_on { buf = qtn_wml_push_setting_recep_on; }
       
   160 RESOURCE TBUF r_pushsd_recep_off { buf = qtn_wml_push_setting_recep_off; }
       
   161 
       
   162 RESOURCE TBUF r_pushsd_loading { buf = qtn_mce_settings_push_loading; }
       
   163 RESOURCE TBUF r_pushsd_load_autom { buf = qtn_wml_push_setting_load_autom; }
       
   164 RESOURCE TBUF r_pushsd_load_man { buf = qtn_wml_push_setting_load_man; }
       
   165 
       
   166 RESOURCE LISTBOX r_pushsd_sp_radiobutton_listbox 
       
   167     {
       
   168     flags = EEikListBoxMultipleSelection;
       
   169     }
       
   170 
       
   171 RESOURCE AVKON_SETTING_PAGE r_pushsd_sp_radiobutton
       
   172     { 
       
   173     type = EAknSetListBox;
       
   174     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   175     menubar = R_AVKON_MENUPANE_EMPTY;
       
   176     editor_resource_id = r_pushsd_sp_radiobutton_listbox;
       
   177     }
       
   178 
       
   179 RESOURCE DIALOG r_pushsd_autoload_sett_confirm
       
   180 	{
       
   181 	flags = EGeneralQueryFlags;
       
   182 	buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   183    	items =
       
   184 		{
       
   185 		DLG_LINE
       
   186 			{
       
   187 			type = EAknCtQuery;
       
   188 			id = EGeneralQuery;
       
   189 			control = AVKON_CONFIRMATION_QUERY 
       
   190 				{ 
       
   191 				layout = EConfirmationLayout;
       
   192 				label = qtn_wml_push_sttng_autom_conf_q;
       
   193 				};
       
   194 			}
       
   195 		};
       
   196 	}
       
   197 
       
   198 //=============================================================================
       
   199 //
       
   200 // Push Message Info Dialog related resources
       
   201 //
       
   202 //=============================================================================
       
   203 
       
   204 RESOURCE TBUF r_pushmid_title { buf = qtn_wml_push_title_msginfo; }
       
   205 RESOURCE TBUF r_pushmid_from { buf = qtn_wml_push_msginfo_from; }
       
   206 RESOURCE TBUF r_pushmid_url { buf = qtn_wml_push_msginfo_url; }
       
   207 RESOURCE TBUF r_pushmid_body { buf = qtn_wml_push_msginfo_body; }
       
   208 RESOURCE TBUF r_pushmid_type { buf = qtn_wml_push_msginfo_type; }
       
   209 RESOURCE TBUF r_pushmid_type_str { buf = qtn_wml_push_msgnfo_type_srv_msg; }
       
   210 RESOURCE TBUF r_pushmid_content_type { buf = qtn_wml_push_msg_content_type; }
       
   211 RESOURCE TBUF r_pushmid_created { buf = qtn_wml_push_msginfo_created; }
       
   212 RESOURCE TBUF r_pushmid_expires { buf = qtn_wml_push_msginfo_expires; }
       
   213 RESOURCE TBUF r_pushmid_size { buf = qtn_wml_push_msginfo_size; }
       
   214 RESOURCE TBUF r_pushmid_rcvd { buf = qtn_wml_push_msginfo_rcvd; }
       
   215 
       
   216 //=============================================================================
       
   217 //
       
   218 // Push Load Service related resources
       
   219 //
       
   220 //=============================================================================
       
   221 
       
   222 RESOURCE TBUF r_pushls_expired_note { buf = qtn_wml_push_note_msg_expired; }
       
   223 
       
   224 RESOURCE DIALOG r_pushls_sl_not_auth
       
   225     {
       
   226     flags = EGeneralQueryFlags;
       
   227     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   228     items = 
       
   229         {
       
   230         DLG_LINE
       
   231             {
       
   232             type = EAknCtQuery;
       
   233             id = EGeneralQuery;
       
   234             control = AVKON_CONFIRMATION_QUERY
       
   235                 {
       
   236                 layout = EConfirmationQueryLayout;
       
   237                 label = qtn_service_inbox_sl_not_trusted;
       
   238                 };
       
   239             }
       
   240         };
       
   241     }
       
   242 
       
   243 RESOURCE DIALOG r_pushls_sl_cache_not_auth
       
   244     {
       
   245     flags = EGeneralQueryFlags;
       
   246     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   247     items = 
       
   248         {
       
   249         DLG_LINE
       
   250             {
       
   251             type = EAknCtQuery;
       
   252             id = EGeneralQuery;
       
   253             control = AVKON_CONFIRMATION_QUERY
       
   254                 {
       
   255                 layout = EConfirmationQueryLayout;
       
   256                 label = qtn_service_inbox_sl_cache_not_trusted;
       
   257                 };
       
   258             }
       
   259         };
       
   260     }
       
   261 
       
   262 //=============================================================================
       
   263 //
       
   264 // Misc
       
   265 //
       
   266 //=============================================================================
       
   267 
       
   268 RESOURCE TBUF r_pushmisc_unk_sender { buf = qtn_mce_push_inbox_sender_unkw; }
       
   269 RESOURCE TBUF r_pushmisc_inbox_serv_msg { buf = qtn_mce_push_inbox_message; }
       
   270 RESOURCE TBUF r_pushmisc_info_replaced { buf = qtn_service_inbox_updating_message_received; }