pushmtm/Data/PushMtmUi.rss
branchRCL_3
changeset 48 8e6fa1719340
equal deleted inserted replaced
47:6385c4c93049 48:8e6fa1719340
       
     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 #include <browser_platform_variant.hrh>
       
    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 
       
    39 //  RESOURCE DEFINITIONS 
       
    40 
       
    41 RESOURCE RSS_SIGNATURE { }
       
    42 
       
    43 //=============================================================================
       
    44 //
       
    45 // MTM UI Data framework related resources
       
    46 //
       
    47 //=============================================================================
       
    48 
       
    49 RESOURCE MTUD_FUNCTION_ARRAY r_push_mtm_ui_data_function_array
       
    50     {
       
    51     functions =
       
    52         {
       
    53         MTUD_FUNCTION
       
    54             {
       
    55             functiontext = qtn_mce_fetch;
       
    56             command = EPushMtmCmdLoadService;
       
    57             flags = EMtudContextSpecific | EMtudAsynchronous | 
       
    58 			        EMtudCommandTransferReceive;
       
    59             },
       
    60         MTUD_FUNCTION 
       
    61             {
       
    62             functiontext = qtn_mce_info;
       
    63             command = KMtmUiFunctionMessageInfo;
       
    64             flags = EMtudContextSpecific | EMtudAsynchronous | 
       
    65 			        EMtudCommandTransferReceive;
       
    66             },
       
    67         MTUD_FUNCTION
       
    68             {
       
    69             functiontext = qtn_mce_settings_push;
       
    70             command = KMtmUiMceSettings;
       
    71             flags = EMtudCommandTransferReceive;
       
    72             }
       
    73         };
       
    74     }
       
    75 
       
    76 //=============================================================================
       
    77 //
       
    78 // Push Settings Dialog related resources
       
    79 //
       
    80 //=============================================================================
       
    81 
       
    82 RESOURCE TITLE_PANE r_pushsd_title_pane
       
    83 	{
       
    84 	txt = qtn_mce_title_settings_push;
       
    85 	}
       
    86 
       
    87 RESOURCE CBA r_pushsd_softkeys
       
    88     {
       
    89     buttons =
       
    90 		{
       
    91 		CBA_BUTTON { id = EPushSettingsDialogCmdOptions; txt = text_softkey_option; },
       
    92 		CBA_BUTTON { id = EPushSettingsDialogCmdBack; txt = text_softkey_back; },
       
    93 		CBA_BUTTON { id = EPushSettingsDialogCmdChangeWithoutSettingPage; txt = qtn_msk_change; }
       
    94 		};
       
    95     }
       
    96 
       
    97 RESOURCE MENU_BAR r_pushsd_menu
       
    98     {
       
    99     titles=
       
   100         {
       
   101         MENU_TITLE { menu_pane = r_pushsd_options_menu_pane; }
       
   102         };
       
   103     }
       
   104 
       
   105 RESOURCE MENU_PANE r_pushsd_options_menu_pane
       
   106     {
       
   107     items=
       
   108         {
       
   109         MENU_ITEM
       
   110             {
       
   111             command = EPushSettingsDialogCmdChange;
       
   112             txt = qtn_mce_settings_change;
       
   113 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF    
       
   114             flags = EEikMenuItemAction;
       
   115 #endif         
       
   116             },
       
   117 #ifdef __SERIES60_HELP
       
   118         MENU_ITEM
       
   119             {
       
   120             command = EPushSettingsDialogCmdHelp;
       
   121             txt = qtn_options_help;
       
   122             },
       
   123 #endif //__SERIES60_HELP
       
   124         MENU_ITEM
       
   125             {
       
   126             command = EPushSettingsDialogCmdAknExit;
       
   127             txt = qtn_mce_settings_exit;
       
   128             }
       
   129         };
       
   130     }
       
   131 
       
   132 RESOURCE ARRAY r_pushsd_listboxarray
       
   133 	{
       
   134 	items=
       
   135 		{
       
   136 		LBUF { txt = " \tIgnore this\t\tIgnore this"; }
       
   137 		};
       
   138 	}
       
   139 
       
   140 RESOURCE DIALOG r_pushsd_dialog
       
   141 	{
       
   142 	flags = EGeneralQueryFlags | EEikDialogFlagFillAppClientRect;
       
   143 	buttons = r_pushsd_softkeys;
       
   144    	items =
       
   145 		{
       
   146 		DLG_LINE
       
   147 			{
       
   148 			type = EAknCtSettingListBox;
       
   149 			itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   150 			id = EPushSettingsDialogCntrlListBox;
       
   151 			control = LISTBOX
       
   152 				{
       
   153 				flags = 0;
       
   154 				height = 3;
       
   155 				width = 80;
       
   156 				array_id = r_pushsd_listboxarray;
       
   157 				};
       
   158 			}
       
   159 		};
       
   160 	}
       
   161 
       
   162 RESOURCE TBUF r_pushsd_recept { buf = qtn_mce_settings_push_recept; }
       
   163 RESOURCE TBUF r_pushsd_recep_on { buf = qtn_wml_push_setting_recep_on; }
       
   164 RESOURCE TBUF r_pushsd_recep_off { buf = qtn_wml_push_setting_recep_off; }
       
   165 
       
   166 RESOURCE TBUF r_pushsd_loading { buf = qtn_mce_settings_push_loading; }
       
   167 RESOURCE TBUF r_pushsd_load_autom { buf = qtn_wml_push_setting_load_autom; }
       
   168 RESOURCE TBUF r_pushsd_load_man { buf = qtn_wml_push_setting_load_man; }
       
   169 
       
   170 RESOURCE LISTBOX r_pushsd_sp_radiobutton_listbox 
       
   171     {
       
   172     flags = EEikListBoxMultipleSelection;
       
   173     }
       
   174 
       
   175 RESOURCE AVKON_SETTING_PAGE r_pushsd_sp_radiobutton
       
   176     { 
       
   177     type = EAknSetListBox;
       
   178     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   179     menubar = R_AVKON_MENUPANE_EMPTY;
       
   180     editor_resource_id = r_pushsd_sp_radiobutton_listbox;
       
   181     }
       
   182 
       
   183 RESOURCE DIALOG r_pushsd_autoload_sett_confirm
       
   184 	{
       
   185 	flags = EGeneralQueryFlags;
       
   186 	buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   187    	items =
       
   188 		{
       
   189 		DLG_LINE
       
   190 			{
       
   191 			type = EAknCtQuery;
       
   192 			id = EGeneralQuery;
       
   193 			control = AVKON_CONFIRMATION_QUERY 
       
   194 				{ 
       
   195 				layout = EConfirmationLayout;
       
   196 				label = qtn_wml_push_sttng_autom_conf_q;
       
   197 				};
       
   198 			}
       
   199 		};
       
   200 	}
       
   201 
       
   202 //=============================================================================
       
   203 //
       
   204 // Push Message Info Dialog related resources
       
   205 //
       
   206 //=============================================================================
       
   207 
       
   208 RESOURCE TBUF r_pushmid_title { buf = qtn_wml_push_title_msginfo; }
       
   209 RESOURCE TBUF r_pushmid_from { buf = qtn_wml_push_msginfo_from; }
       
   210 RESOURCE TBUF r_pushmid_url { buf = qtn_wml_push_msginfo_url; }
       
   211 RESOURCE TBUF r_pushmid_body { buf = qtn_wml_push_msginfo_body; }
       
   212 RESOURCE TBUF r_pushmid_type { buf = qtn_wml_push_msginfo_type; }
       
   213 RESOURCE TBUF r_pushmid_type_str { buf = qtn_wml_push_msgnfo_type_srv_msg; }
       
   214 RESOURCE TBUF r_pushmid_content_type { buf = qtn_wml_push_msg_content_type; }
       
   215 RESOURCE TBUF r_pushmid_created { buf = qtn_wml_push_msginfo_created; }
       
   216 RESOURCE TBUF r_pushmid_expires { buf = qtn_wml_push_msginfo_expires; }
       
   217 RESOURCE TBUF r_pushmid_size { buf = qtn_wml_push_msginfo_size; }
       
   218 RESOURCE TBUF r_pushmid_rcvd { buf = qtn_wml_push_msginfo_rcvd; }
       
   219 
       
   220 //=============================================================================
       
   221 //
       
   222 // Push Load Service related resources
       
   223 //
       
   224 //=============================================================================
       
   225 
       
   226 RESOURCE TBUF r_pushls_expired_note { buf = qtn_wml_push_note_msg_expired; }
       
   227 
       
   228 RESOURCE DIALOG r_pushls_sl_not_auth
       
   229     {
       
   230     flags = EGeneralQueryFlags;
       
   231     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   232     items = 
       
   233         {
       
   234         DLG_LINE
       
   235             {
       
   236             type = EAknCtQuery;
       
   237             id = EGeneralQuery;
       
   238             control = AVKON_CONFIRMATION_QUERY
       
   239                 {
       
   240                 layout = EConfirmationQueryLayout;
       
   241                 label = qtn_service_inbox_sl_not_trusted;
       
   242                 };
       
   243             }
       
   244         };
       
   245     }
       
   246 
       
   247 RESOURCE DIALOG r_pushls_sl_cache_not_auth
       
   248     {
       
   249     flags = EGeneralQueryFlags;
       
   250     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   251     items = 
       
   252         {
       
   253         DLG_LINE
       
   254             {
       
   255             type = EAknCtQuery;
       
   256             id = EGeneralQuery;
       
   257             control = AVKON_CONFIRMATION_QUERY
       
   258                 {
       
   259                 layout = EConfirmationQueryLayout;
       
   260                 label = qtn_service_inbox_sl_cache_not_trusted;
       
   261                 };
       
   262             }
       
   263         };
       
   264     }
       
   265 
       
   266 //=============================================================================
       
   267 //
       
   268 // Misc
       
   269 //
       
   270 //=============================================================================
       
   271 
       
   272 RESOURCE TBUF r_pushmisc_unk_sender { buf = qtn_mce_push_inbox_sender_unkw; }
       
   273 RESOURCE TBUF r_pushmisc_inbox_serv_msg { buf = qtn_mce_push_inbox_message; }
       
   274 RESOURCE TBUF r_pushmisc_info_replaced { buf = qtn_service_inbox_updating_message_received; }