securitydialogs/simlockui/data/SimLockUI.rss
changeset 1 d5423fbb4f29
child 5 3b17fc5c9564
equal deleted inserted replaced
0:164170e6151a 1:d5423fbb4f29
       
     1 /*
       
     2 * ============================================================================
       
     3 *  Name        : SimLockUI.rss
       
     4 *  Part of     : SimLock UI Application / Resource Definitions
       
     5 *  Description : Resource definitions for SimLock UI
       
     6 *  Version     : 
       
     7 *  
       
     8 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     9 * All rights reserved.
       
    10 * This component and the accompanying materials are made available
       
    11 * under the terms of "Eclipse Public License v1.0"
       
    12 * which accompanies this distribution, and is available
       
    13 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    14 *
       
    15 * Initial Contributors:
       
    16 * Nokia Corporation - initial contribution.
       
    17 *
       
    18 * Contributors:
       
    19 *
       
    20 * Description:   Build info file for Ado domain appinstall 
       
    21 * ============================================================================
       
    22 */
       
    23 
       
    24 // Resource Name Identifier
       
    25 NAME SLUI
       
    26 
       
    27 // Include Files
       
    28 #include <eikon.rh>
       
    29 #include <eikon.rsg>
       
    30 #include <avkon.rh>
       
    31 #include <avkon.rsg>
       
    32 #include <appinfo.rh>
       
    33 
       
    34 #include "SimLockUI.hrh"
       
    35 #include "SimLockUI.loc"
       
    36 
       
    37 // Resource Identifiers
       
    38 RESOURCE RSS_SIGNATURE { }
       
    39 RESOURCE TBUF r_default_document_name { buf = "Document"; }
       
    40 
       
    41 // Constants
       
    42 #define ESimLockUiQueryFlags (EGeneralQueryFlags)
       
    43 
       
    44 // ========================== RESOURCE DEFINITIONS ===========================
       
    45 
       
    46 // ---------------------------------------------------------------------------
       
    47 // EIK_APP_INFO
       
    48 // Define default menu and CBA key.
       
    49 // ---------------------------------------------------------------------------
       
    50 //
       
    51 RESOURCE EIK_APP_INFO
       
    52     {
       
    53     cba = R_AVKON_SOFTKEYS_EMPTY;
       
    54     menubar= R_AVKON_MENUPANE_EMPTY;
       
    55     }
       
    56 
       
    57 // ---------------------------------------------------------------------------
       
    58 // Text resources
       
    59 //
       
    60 // ---------------------------------------------------------------------------
       
    61 //
       
    62 
       
    63 // Background text captions
       
    64 RESOURCE TBUF r_simlock_ui_background_text_main {buf = qtn_sim_title_sim_unlock;}
       
    65 RESOURCE TBUF r_simlock_ui_background_text_unlock_complete {buf = qtn_sim_title_unlock_complete;}
       
    66 RESOURCE TBUF r_simlock_ui_codes_not_match {buf = qtn_sim_title_code_no_match;}
       
    67 RESOURCE TBUF r_simlock_ui_background_text_unlock_incorrect {buf = qtn_sim_title_code_wrong;}
       
    68 RESOURCE TBUF r_simlock_ui_background_text_unlock_failed {buf = qtn_sim_title_unlock_fail;}
       
    69 
       
    70 // Information notes
       
    71 RESOURCE TBUF r_sim_unlock_message_sim_unlocked {buf = qtn_sim_info_prev_unlock;}
       
    72 RESOURCE TBUF r_sim_unlock_message_cannot_unlock {buf = qtn_sim_info_perm_lock;}
       
    73 RESOURCE TBUF r_sim_unlock_message_end_call {buf = qtn_sim_info_end_call;}
       
    74 RESOURCE TBUF r_sim_phone_unlocked {buf = qtn_sim_info_phone_unlocked;}
       
    75 
       
    76 // Text for SIM popup text
       
    77 RESOURCE TBUF r_sim_info_welcome_note_text{buf=qtn_sim_popup_intro_info;}
       
    78 
       
    79 
       
    80 // ---------------------------------------------------------------------------
       
    81 // r_sim_info_welcome_note
       
    82 // Intro note displayed when Sim Lock UI Application starts
       
    83 // ---------------------------------------------------------------------------
       
    84 //
       
    85  RESOURCE DIALOG r_sim_info_welcome_note
       
    86     {
       
    87     flags=ESimLockUiQueryFlags;
       
    88     buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
    89     items=
       
    90         {
       
    91         DLG_LINE
       
    92             {
       
    93             type = EAknCtPopupHeadingPane;
       
    94             id = EAknMessageQueryHeaderId;
       
    95             control = AVKON_HEADING
       
    96                 {
       
    97                 headinglayout = R_AVKON_LIST_HEADING_PANE_POPUPS;
       
    98                 label = qtn_sim_title_sim_unlock;
       
    99                 };
       
   100             },
       
   101         DLG_LINE
       
   102             {
       
   103             type = EAknCtMessageQuery;
       
   104             id = EAknMessageQueryContentId;
       
   105 
       
   106             control = AVKON_MESSAGE_QUERY
       
   107                 {               
       
   108                 };
       
   109             }
       
   110         };
       
   111     }
       
   112 
       
   113 // ---------------------------------------------------------------------------
       
   114 // r_sim_unlock_final
       
   115 // Indicates the final unlock attempt has been performed
       
   116 // ---------------------------------------------------------------------------
       
   117 //
       
   118 RESOURCE DIALOG r_sim_unlock_final
       
   119     {
       
   120     flags=ESimLockUiQueryFlags;
       
   121     buttons=R_AVKON_SOFTKEYS_OK_EMPTY;
       
   122     items=
       
   123         {
       
   124         DLG_LINE
       
   125             {
       
   126             type = EAknCtPopupHeadingPane;
       
   127             id = EAknMessageQueryHeaderId;
       
   128             control = AVKON_HEADING
       
   129                 {
       
   130                 headinglayout = R_AVKON_LIST_HEADING_PANE_POPUPS;
       
   131                 label = qtn_sim_title_unlock_fail;
       
   132                 };
       
   133             },
       
   134         DLG_LINE
       
   135             {
       
   136             type=EAknCtMessageQuery;
       
   137             id=EAknMessageQueryContentId;
       
   138             control= AVKON_MESSAGE_QUERY
       
   139                 {
       
   140                 message = qtn_sim_info_code_wrong_final;
       
   141                 };
       
   142             }
       
   143         };
       
   144     }
       
   145 
       
   146 // ---------------------------------------------------------------------------
       
   147 // r_sim_info_codes_not_match
       
   148 // Dialog that indicates two Sim lock codes do not match
       
   149 // ---------------------------------------------------------------------------
       
   150 //
       
   151 RESOURCE DIALOG r_sim_info_codes_not_match
       
   152     {
       
   153     flags=ESimLockUiQueryFlags;
       
   154     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   155     items=
       
   156         {
       
   157         DLG_LINE
       
   158             {
       
   159             type = EAknCtPopupHeadingPane;
       
   160             id = EAknMessageQueryHeaderId;
       
   161             control = AVKON_HEADING
       
   162                 {
       
   163                 headinglayout = R_AVKON_LIST_HEADING_PANE_POPUPS;
       
   164                 label = qtn_sim_title_code_no_match;
       
   165                 };
       
   166             },
       
   167 
       
   168         DLG_LINE
       
   169             {
       
   170             type=EAknCtMessageQuery;
       
   171             id=EAknMessageQueryContentId;
       
   172             control= AVKON_MESSAGE_QUERY
       
   173                 {
       
   174                 message = qtn_sim_info_code_no_match;
       
   175                 };
       
   176             }
       
   177         };
       
   178     }
       
   179 
       
   180 // ---------------------------------------------------------------------------
       
   181 // r_sim_info_code_incorrect
       
   182 // Dialog that indicates an incorrect code was entered
       
   183 // ---------------------------------------------------------------------------
       
   184 //
       
   185 RESOURCE DIALOG r_sim_info_code_incorrect
       
   186     {
       
   187     flags=ESimLockUiQueryFlags;
       
   188     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   189     items=
       
   190         {
       
   191         DLG_LINE
       
   192             {
       
   193             type = EAknCtPopupHeadingPane;
       
   194             id = EAknMessageQueryHeaderId;
       
   195             control = AVKON_HEADING
       
   196                 {
       
   197                 headinglayout = R_AVKON_LIST_HEADING_PANE_POPUPS;
       
   198                 label = qtn_sim_title_code_wrong;
       
   199                 };
       
   200             },
       
   201 
       
   202         DLG_LINE
       
   203             {
       
   204             type=EAknCtMessageQuery;
       
   205             id=EAknMessageQueryContentId;
       
   206             control= AVKON_MESSAGE_QUERY
       
   207                 {
       
   208                 message = qtn_sim_urn_code_wrong;
       
   209                 };
       
   210             }
       
   211         };
       
   212     }
       
   213 
       
   214 // ---------------------------------------------------------------------------
       
   215 // r_sim_info_enter_password
       
   216 // Password entry dialog
       
   217 // ---------------------------------------------------------------------------
       
   218 //
       
   219 RESOURCE DIALOG r_sim_info_enter_password
       
   220 
       
   221     {
       
   222     flags=ESimLockUiQueryFlags;
       
   223     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   224     items=
       
   225         {
       
   226         DLG_LINE
       
   227             {
       
   228             type=EAknCtQuery;
       
   229             id=EGeneralQuery;
       
   230             control= AVKON_DATA_QUERY
       
   231                 {
       
   232                 layout = EPhoneLayout;
       
   233                 label = qtn_sim_query_enter_code;
       
   234                 control = EDWIN
       
   235                     {
       
   236                     lines = 1;
       
   237                     width = SEC_ATT_PASSWORD_MAX_BUFFER;
       
   238                     default_input_mode = EAknEditorNumericInputMode;
       
   239                     allowed_input_modes = EAknEditorNumericInputMode;
       
   240                     };
       
   241                 };
       
   242             }
       
   243         };
       
   244     }
       
   245 
       
   246 // ---------------------------------------------------------------------------
       
   247 // r_sim_info_test_password_reenter
       
   248 // Password re-entry dialog
       
   249 // ---------------------------------------------------------------------------
       
   250 //
       
   251 RESOURCE DIALOG r_sim_info_reenter_password
       
   252 
       
   253     {
       
   254     flags=ESimLockUiQueryFlags;
       
   255     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   256     items=
       
   257         {
       
   258 
       
   259         DLG_LINE
       
   260             {
       
   261             type=EAknCtQuery;
       
   262             id=EGeneralQuery;
       
   263             control= AVKON_DATA_QUERY
       
   264                 {
       
   265                 layout = EPhoneLayout;
       
   266                 label = qtn_sim_query_reenter_code;
       
   267                 control = EDWIN
       
   268                     {
       
   269                     lines = 1;
       
   270                     width = SEC_ATT_PASSWORD_MAX_BUFFER;
       
   271                     default_input_mode = EAknEditorNumericInputMode;
       
   272                     allowed_input_modes = EAknEditorNumericInputMode;
       
   273                     };
       
   274                 };
       
   275             }
       
   276         };
       
   277     }