smartinstaller/adm/data/ADM.rss
branchADM
changeset 48 364021cecc90
equal deleted inserted replaced
47:3f419852be07 48:364021cecc90
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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 "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: 
       
    15 *     This file contains all the resources for the ADM.
       
    16 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 //  RESOURCE IDENTIFIER
       
    22 NAME ADMX	// 4 letter ID
       
    23 
       
    24 
       
    25 //  INCLUDES
       
    26 #include <eikon.rh>
       
    27 #include <avkon.rsg>
       
    28 #include <avkon.rh>
       
    29 #include <avkon.hrh>
       
    30 #include <appinfo.rh>
       
    31 #include "ADM.hrh"
       
    32 #include "ADM.loc"
       
    33 #include <adm.mbg>
       
    34 
       
    35 //  RESOURCE DEFINITIONS
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 //	Define the resource file signature
       
    39 //	This resource should be empty.
       
    40 //
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 RESOURCE RSS_SIGNATURE
       
    44 	{
       
    45 	}
       
    46 
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 //	Default Document Name
       
    50 //
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 RESOURCE TBUF r_default_document_name
       
    54 	{
       
    55 	buf="ADMX";
       
    56 	}
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 //
       
    60 //	Define default menu and CBA key.
       
    61 //
       
    62 // -----------------------------------------------------------------------------
       
    63 //
       
    64 RESOURCE EIK_APP_INFO
       
    65 	{
       
    66 	menubar = r_menubar;
       
    67 	cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
    68 	}
       
    69 
       
    70 
       
    71 // -----------------------------------------------------------------------------
       
    72 //
       
    73 //   r_menubar
       
    74 //   Main menubar
       
    75 //
       
    76 // -----------------------------------------------------------------------------
       
    77 //
       
    78 RESOURCE MENU_BAR r_menubar
       
    79 	{
       
    80 	titles =
       
    81 		{
       
    82 		MENU_TITLE { menu_pane = r_menu; }
       
    83 		};
       
    84 	}
       
    85 
       
    86 
       
    87 // -----------------------------------------------------------------------------
       
    88 //
       
    89 //   r_menu
       
    90 //   Menu for "Options"
       
    91 //
       
    92 // -----------------------------------------------------------------------------
       
    93 //
       
    94 RESOURCE MENU_PANE r_menu
       
    95 	{
       
    96 	items =
       
    97 		{
       
    98 		MENU_ITEM
       
    99 				{
       
   100 				command = EAknSoftkeyExit;
       
   101 				txt = R_AVKON_SOFTKEYS_EXIT;
       
   102 				}
       
   103 		};
       
   104 	}
       
   105 
       
   106 // ----------------------------------------------------------------------------
       
   107 //
       
   108 // r_localisable_app_info
       
   109 //
       
   110 // ----------------------------------------------------------------------------
       
   111 //
       
   112 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
       
   113 	{
       
   114 	short_caption = qtn_short_caption_string;
       
   115 	caption_and_icon =
       
   116 	CAPTION_AND_ICON_INFO
       
   117 		{
       
   118 		caption = qtn_caption_string;
       
   119 
       
   120 		number_of_icons = 1;
       
   121 		icon_file = "\\resource\\apps\\adm.mif";
       
   122 		};
       
   123 	}
       
   124 
       
   125 // -----------------------------------------------------------------------------
       
   126 // Dialog for error messages
       
   127 // -----------------------------------------------------------------------------
       
   128 //
       
   129 RESOURCE DIALOG r_adm_wait_dialog_error_query
       
   130 {
       
   131 // EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons | EEikDialogFlagNotifyEsc | EEikDialogFlagWait;
       
   132 	flags = EGeneralQueryFlags;
       
   133 	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   134 	items=
       
   135 	{
       
   136 		DLG_LINE
       
   137 		{
       
   138 			type = EAknCtQuery;
       
   139 			id = EGeneralQuery;
       
   140 			control = AVKON_CONFIRMATION_QUERY
       
   141 			{
       
   142 				layout = EConfirmationLayout;
       
   143 				animation = R_QGN_NOTE_ERROR_ANIM;
       
   144 			};
       
   145 		}
       
   146 	};
       
   147 }
       
   148 
       
   149 RESOURCE DIALOG r_adm_exit_query
       
   150 {
       
   151 	flags = EGeneralQueryFlags;
       
   152 	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   153 	items=
       
   154 	{
       
   155 		DLG_LINE
       
   156 		{
       
   157 			type = EAknCtQuery;
       
   158 			id = EGeneralQuery;
       
   159 			control = AVKON_CONFIRMATION_QUERY
       
   160 			{
       
   161 				layout = EConfirmationLayout;
       
   162 				bmpfile = "\\resource\\apps\\adm.mif";
       
   163 				bmpid = 16384;
       
   164 				bmpmask = 16385;
       
   165 			};
       
   166 		}
       
   167 	};
       
   168 }
       
   169 
       
   170 // Prefixes for download size
       
   171 RESOURCE TBUF16 r_kb { buf = string_r_kb; }
       
   172 RESOURCE TBUF16 r_mb { buf = string_r_mb; }
       
   173 RESOURCE TBUF16 r_gb { buf = string_r_gb; }
       
   174 
       
   175 RESOURCE TBUF r_adm_continuing_inst_text
       
   176 	{
       
   177 	buf = string_r_adm_continuing_inst_text;
       
   178 	}
       
   179 
       
   180 // Informative messages
       
   181 RESOURCE TBUF64 r_adm_installation_ok_text
       
   182 	{
       
   183 	buf = string_r_adm_installation_ok_text;
       
   184 	}
       
   185 
       
   186 // Wait notes
       
   187 RESOURCE TBUF64 r_adm_cancelling_installation_wait_text
       
   188 	{
       
   189 	buf = string_r_adm_cancelling_installation_wait_text;
       
   190 	}
       
   191 
       
   192 RESOURCE TBUF64 r_adm_reverting_changes_wait_text
       
   193 	{
       
   194 	buf = string_r_adm_reverting_changes_wait_text;
       
   195 	}
       
   196 
       
   197 RESOURCE TBUF64 r_adm_finalizing_installation_wait_text
       
   198 	{
       
   199 	buf = string_r_adm_finalizing_installation_wait_text;
       
   200 	}
       
   201 
       
   202 // Wait note detailed error message base
       
   203 RESOURCE TBUF64 r_adm_detailed_cancelling_installation_wait_text
       
   204 	{
       
   205 	buf = string_r_adm_detailed_cancelling_installation_wait_text;
       
   206 	}
       
   207 
       
   208 // Detailed error messages shown in wait note
       
   209 RESOURCE TBUF64 r_adm_err_conn_lost_text
       
   210 	{
       
   211 	buf = string_r_adm_err_conn_lost_text;
       
   212 	}
       
   213 
       
   214 // Error strings
       
   215 RESOURCE TBUF64 r_adm_error_text
       
   216 	{
       
   217 	buf = string_r_adm_error_text;
       
   218 	}
       
   219 
       
   220 RESOURCE TBUF64 r_adm_err_no_pending_installations_text
       
   221 	{
       
   222 	buf = string_r_adm_err_no_pending_installations_text;
       
   223 	}
       
   224 
       
   225 RESOURCE TBUF64 r_adm_err_installation_not_enough_space_text
       
   226 	{
       
   227 	buf = string_r_adm_err_installation_not_enough_space_text;
       
   228 	}
       
   229 
       
   230 RESOURCE TBUF64 r_adm_err_installation_failed_text
       
   231 	{
       
   232 	buf = string_r_adm_err_installation_failed_text;
       
   233 	}
       
   234 
       
   235 RESOURCE TBUF64 r_adm_err_installation_unsupported_device_text
       
   236 	{
       
   237 	buf = string_r_adm_err_installation_unsupported_device_text;
       
   238 	}
       
   239 
       
   240 RESOURCE TBUF64 r_adm_err_download_failed_text
       
   241 	{
       
   242 	buf = string_r_adm_err_download_failed_text;
       
   243 	}
       
   244 
       
   245 RESOURCE TBUF64 r_adm_err_unsupported_version_text
       
   246 	{
       
   247 	buf = string_r_adm_err_unsupported_version_text;
       
   248 	}
       
   249 
       
   250 // New strings
       
   251 // Wait notes
       
   252 RESOURCE TBUF64 r_adm_verifying_sw_text
       
   253 	{
       
   254 	buf = string_r_adm_verifying_sw_text;
       
   255 	}
       
   256 
       
   257 RESOURCE TBUF64 r_adm_downloading_text
       
   258 	{
       
   259 	buf = string_r_adm_downloading_text;
       
   260 	}
       
   261 
       
   262 RESOURCE TBUF64 r_adm_installing_text
       
   263 	{
       
   264 	buf = string_r_adm_installing_text;
       
   265 	}
       
   266 
       
   267 // Prompts
       
   268 RESOURCE TBUF64 r_adm_sw_update_required_text
       
   269 	{
       
   270 	buf = string_r_adm_sw_update_required_text;
       
   271 	}
       
   272 
       
   273 RESOURCE TBUF64 r_adm_roaming_text
       
   274 	{
       
   275 	buf = string_r_adm_roaming_text;
       
   276 	}
       
   277 
       
   278 RESOURCE TBUF64 r_adm_dl_prompt_text
       
   279 	{
       
   280 	buf = string_r_adm_dl_prompt_text;
       
   281 	}
       
   282 
       
   283 RESOURCE TBUF64 r_adm_launch_app_text
       
   284 	{
       
   285 	buf = string_r_adm_launch_app_text;
       
   286 	}
       
   287 
       
   288 // Informative
       
   289 RESOURCE TBUF r_adm_inst_can_be_resumed_text
       
   290 	{
       
   291 	buf = string_r_inst_adm_can_be_resumed_text;
       
   292 	}
       
   293 
       
   294 RESOURCE TBUF r_adm_inst_can_be_resumed_ovi_text
       
   295 	{
       
   296 	buf = string_r_inst_adm_can_be_resumed_ovi_text;
       
   297 	}
       
   298 
       
   299 // Old strings. Just keep them here for a while for documentation purposes.
       
   300 #if 0
       
   301 // User cancellation message string
       
   302 RESOURCE TBUF128 r_adm_continue_to_download_text
       
   303 	{
       
   304 	buf = string_r_adm_continue_to_download_text;
       
   305 	}
       
   306 
       
   307 // Device is roaming. Continue to download?
       
   308 RESOURCE TBUF128 r_adm_roaming_continue_to_download_text
       
   309 	{
       
   310 	buf = string_r_adm_roaming_continue_to_download_text;
       
   311 	}
       
   312 
       
   313 RESOURCE TBUF64 r_adm_env_creation_wait_text
       
   314 	{
       
   315 	buf = string_r_adm_preparing_inst_text;
       
   316 	}
       
   317 
       
   318 RESOURCE TBUF64 r_adm_download_wait_text
       
   319 	{
       
   320 	buf = string_r_adm_download_wait_text;
       
   321 	}
       
   322 
       
   323 RESOURCE TBUF64 r_adm_err_user_cancellation_text
       
   324 	{
       
   325 	buf = string_r_adm_err_user_cancellation_text;
       
   326 	}
       
   327 #endif
       
   328 
       
   329 // End of File