convergedconnectionhandler/cchclientapi/cchuinotif/data/cchuinotif.rss
branchRCL_3
changeset 22 d38647835c2e
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:  Resource definitions for project CCH UI
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 NAME CNOT
       
    20 
       
    21 #include <avkon.rh>
       
    22 #include <eikon.rh>
       
    23 #include <avkon.loc>
       
    24 #include <avkon.rsg>
       
    25 #include <eikon.rsg>
       
    26 #include <avkon.mbg>
       
    27 #include <cchui.loc>
       
    28 
       
    29 
       
    30 RESOURCE RSS_SIGNATURE { }
       
    31 RESOURCE TBUF { buf=""; }
       
    32 
       
    33 
       
    34 // ---------------------------------------------------------------------------
       
    35 // r_cchuinotif_username_pwd_dialog
       
    36 // Multiline dialog for username and password
       
    37 // ---------------------------------------------------------------------------
       
    38 //
       
    39 RESOURCE DIALOG r_cchuinotif_username_pwd_dialog
       
    40     {
       
    41     title   = "";
       
    42     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
    43     flags   = EEikDialogFlagWait;
       
    44     items   =
       
    45         {
       
    46         DLG_LINE
       
    47             {
       
    48             type    = EAknCtMultilineQuery;
       
    49             id      = EMultilineFirstLine;
       
    50             control = AVKON_DATA_QUERY
       
    51                 {
       
    52                 layout = EMultiDataFirstEdwin;
       
    53                 label = qtn_servtab_service_auth_username_query;
       
    54                 control = EDWIN
       
    55                     {
       
    56                     default_case = EAknEditorLowerCase;
       
    57                     allowed_case_modes = EAknEditorAllCaseModes;
       
    58                     flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
       
    59                     width = 25;
       
    60                     lines = 1;
       
    61                     maxlength = 100;
       
    62                     };
       
    63                 };
       
    64             },
       
    65         DLG_LINE
       
    66             {
       
    67             type    = EAknCtMultilineQuery;
       
    68             id      = EMultilineSecondLine;
       
    69             control = AVKON_DATA_QUERY
       
    70                 {
       
    71                 layout = EMultiDataSecondSecEd;
       
    72                 label = qtn_servtab_service_auth_password_query;
       
    73                 control = SECRETED
       
    74                     {
       
    75                     num_letters = 100;
       
    76                     };
       
    77                 };
       
    78             }
       
    79         };
       
    80     }
       
    81 
       
    82 // ---------------------------------------------------------------------------
       
    83 // r_cchuinotif_no_connections_available
       
    84 // No connections available query
       
    85 // ---------------------------------------------------------------------------
       
    86 //
       
    87 RESOURCE AVKON_LIST_QUERY r_cchuinotif_no_connections_available
       
    88     {
       
    89     flags = EGeneralQueryFlags;
       
    90     softkeys = R_AVKON_SOFTKEYS_OK_CANCEL;
       
    91     items = 
       
    92         {
       
    93          AVKON_LIST_QUERY_DLG_LINE 
       
    94             {
       
    95             control = AVKON_LIST_QUERY_CONTROL_WITH_MSGBOX
       
    96                 {
       
    97                 actuallisttype = EAknCtSinglePopupMenuListBox;
       
    98                 listbox = AVKON_LIST_QUERY_LIST
       
    99                     {
       
   100                     flags = EAknListBoxSelectionList;
       
   101                     };
       
   102 
       
   103                 heading = r_qtn_cchuinotif_no_connections_heading;
       
   104                 };
       
   105             }
       
   106         };
       
   107     }
       
   108     
       
   109 // ---------------------------------------------------------------------------
       
   110 // r_cchuinotif_change_connection_query
       
   111 // Change connection query
       
   112 // ---------------------------------------------------------------------------
       
   113 //
       
   114 RESOURCE AVKON_LIST_QUERY r_cchuinotif_change_connection_query
       
   115     {
       
   116     flags = EGeneralQueryFlags;
       
   117     softkeys = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   118     items = 
       
   119         {
       
   120          AVKON_LIST_QUERY_DLG_LINE 
       
   121             {
       
   122             control = AVKON_LIST_QUERY_CONTROL_WITH_MSGBOX
       
   123                 {
       
   124                 actuallisttype = EAknCtSinglePopupMenuListBox;
       
   125                 listbox = AVKON_LIST_QUERY_LIST
       
   126                     {
       
   127                     flags = EAknListBoxSelectionList;
       
   128                     };
       
   129 
       
   130                 heading = r_qtn_cchuinotif_change_connection_heading;
       
   131                 };
       
   132             }
       
   133         };
       
   134     }
       
   135 
       
   136 // ---------------------------------------------------------------------------
       
   137 // r_cchuinotif_select_gprs_dialog
       
   138 // Select GPRS access point dialog
       
   139 // ---------------------------------------------------------------------------
       
   140 //
       
   141 RESOURCE AVKON_LIST_QUERY r_cchuinotif_select_gprs_dialog
       
   142     {
       
   143     flags = EGeneralQueryFlags;
       
   144     softkeys = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   145     items = 
       
   146         {
       
   147         DLG_LINE 
       
   148             {
       
   149             type = EAknCtListQueryControl;
       
   150             id = EListQueryControl;
       
   151             control = AVKON_LIST_QUERY_CONTROL
       
   152                 {
       
   153                 listtype = EAknCtSinglePopupMenuListBox;
       
   154                 listbox = AVKON_LIST_QUERY_LIST
       
   155                     {
       
   156                     flags = EAknListBoxSelectionList;
       
   157                     };
       
   158 
       
   159                 heading = r_qtn_cchuinotif_select_gprs_access_point_heading;
       
   160                 };
       
   161             }
       
   162         };
       
   163     }    
       
   164 
       
   165 // ---------------------------------------------------------------------------
       
   166 // r_qtn_cchuinotif_no_connections_heading
       
   167 // No connections query heading
       
   168 // ---------------------------------------------------------------------------
       
   169 //
       
   170 RESOURCE TBUF r_qtn_cchuinotif_no_connections_heading
       
   171     { 
       
   172     buf = qtn_servtab_no_conn_available_prompt_text;
       
   173     }
       
   174 
       
   175 // ---------------------------------------------------------------------------
       
   176 // r_qtn_cchuinotif_change_current_connection_heading
       
   177 // Change current connection query heading
       
   178 // ---------------------------------------------------------------------------
       
   179 //
       
   180 RESOURCE TBUF r_qtn_cchuinotif_change_current_connection_heading
       
   181     { 
       
   182     buf = qtn_servtab_change_current_conn_prompt;
       
   183     }
       
   184 
       
   185 // ---------------------------------------------------------------------------
       
   186 // r_qtn_cchuinotif_change_connection_heading
       
   187 // Change connection query heading
       
   188 // ---------------------------------------------------------------------------
       
   189 //
       
   190 RESOURCE TBUF r_qtn_cchuinotif_change_connection_heading
       
   191     { 
       
   192     buf = qtn_servtab_change_new_conn_query;
       
   193     }
       
   194 
       
   195 // ---------------------------------------------------------------------------
       
   196 // r_qtn_cchuinotif_select_gprs_access_point_heading
       
   197 // Query heading for gprs selection
       
   198 // ---------------------------------------------------------------------------
       
   199 //
       
   200 RESOURCE TBUF r_qtn_cchuinotif_select_gprs_access_point_heading
       
   201     { 
       
   202     buf = qtn_servtab_prmpt_select_gprs_access_point; 
       
   203     }
       
   204 
       
   205 // ---------------------------------------------------------------------------
       
   206 // r_qtn_cchuinotif_no_connections_heading
       
   207 // No connections query heading
       
   208 // ---------------------------------------------------------------------------
       
   209 //
       
   210 RESOURCE TBUF r_qtn_cchuinotif_no_connections_defined_heading
       
   211     { 
       
   212     buf = qtn_servtab_no_conn_defined_prompt_text; 
       
   213     }    
       
   214 
       
   215 // ---------------------------------------------------------------------------
       
   216 // r_qtn_cchuinotif_connect_when_av_text
       
   217 // Connect when available selection item for no connection available dialog
       
   218 // ---------------------------------------------------------------------------
       
   219 //
       
   220 RESOURCE TBUF r_qtn_cchuinotif_connect_when_av_text
       
   221     { 
       
   222     buf = qtn_servtab_no_coverage_connect_when_av; 
       
   223     }
       
   224 
       
   225 // ---------------------------------------------------------------------------
       
   226 // r_qtn_servtab_prmpt_no_wlan_found
       
   227 // Heading for no wlan networks found dialog
       
   228 // ---------------------------------------------------------------------------
       
   229 //
       
   230 RESOURCE TBUF r_qtn_servtab_prmpt_no_wlan_found
       
   231     { 
       
   232     buf = qtn_servtab_prmpt_no_wlan_found; 
       
   233     }
       
   234 
       
   235 // ---------------------------------------------------------------------------
       
   236 // r_qtn_cchuinotif_search_wlan_not_def_text
       
   237 // Search WLAN selection item for no connection defined dialog
       
   238 // ---------------------------------------------------------------------------
       
   239 //
       
   240 RESOURCE TBUF r_qtn_cchuinotif_search_wlan_not_def_text
       
   241     { 
       
   242     buf = qtn_servtab_no_ap_defined_search_wlan; 
       
   243     }
       
   244 
       
   245 // ---------------------------------------------------------------------------
       
   246 // r_qtn_cchuinotif_search_wlan_not_found_text
       
   247 // Search WLAN selection item for no connection found dialog
       
   248 // ---------------------------------------------------------------------------
       
   249 //
       
   250 RESOURCE TBUF r_qtn_cchuinotif_search_wlan_not_found_text
       
   251     { 
       
   252     buf = qtn_servtab_no_wlan_found_search_wlan; 
       
   253     }
       
   254 
       
   255 // ---------------------------------------------------------------------------
       
   256 // r_qtn_cchuinotif_search_wlan_no_coverage_text
       
   257 // Search WLAN selection item for no connection available dialog
       
   258 // ---------------------------------------------------------------------------
       
   259 //
       
   260 RESOURCE TBUF r_qtn_cchuinotif_search_wlan_no_coverage_text
       
   261     { 
       
   262     buf = qtn_servtab_no_coverage_search_wlan; 
       
   263     }
       
   264     
       
   265 // ---------------------------------------------------------------------------
       
   266 // r_qtn_cchuinotif_search_wlan_change_current_connection_text
       
   267 // Search WLAN selection item for change current connection dialog
       
   268 // ---------------------------------------------------------------------------
       
   269 //
       
   270 RESOURCE TBUF r_qtn_cchuinotif_search_wlan_change_current_connection_text
       
   271     { 
       
   272     buf = qtn_servtab_chng_current_conn_search_wlan; 
       
   273     }
       
   274 
       
   275 // ---------------------------------------------------------------------------
       
   276 // r_qtn_cchuinotif_search_wlan_change_connection_text
       
   277 // Search WLAN selection item for change connection dialog
       
   278 // ---------------------------------------------------------------------------
       
   279 //
       
   280 RESOURCE TBUF r_qtn_cchuinotif_search_wlan_change_connection_text
       
   281     { 
       
   282     buf = qtn_servtab_chng_conn_search_wlan; 
       
   283     }
       
   284 
       
   285 // ---------------------------------------------------------------------------
       
   286 // r_qtn_cchuinotif_use_gprs_not_def_text
       
   287 // Use_gprs selection item for no connection defined dialog
       
   288 // ---------------------------------------------------------------------------
       
   289 //
       
   290 RESOURCE TBUF r_qtn_cchuinotif_use_gprs_not_def_text
       
   291     { 
       
   292     buf = qtn_servtab_no_ap_defined_use_gprs; 
       
   293     }    
       
   294 
       
   295 // ---------------------------------------------------------------------------
       
   296 // r_qtn_cchuinotif_use_gprs_not_found_text
       
   297 // Use_gprs selection item for no connection found dialog
       
   298 // ---------------------------------------------------------------------------
       
   299 //
       
   300 RESOURCE TBUF r_qtn_cchuinotif_use_gprs_not_found_text
       
   301     { 
       
   302     buf = qtn_servtab_no_wlan_found_use_gprs; 
       
   303     }    
       
   304 
       
   305 // ---------------------------------------------------------------------------
       
   306 // r_qtn_cchuinotif_use_gprs_no_coverage_text
       
   307 // Use_gprs selection item for no connection coverage dialog
       
   308 // ---------------------------------------------------------------------------
       
   309 //
       
   310 RESOURCE TBUF r_qtn_cchuinotif_use_gprs_no_coverage_text
       
   311     { 
       
   312     buf = qtn_servtab_no_coverage_use_gprs; 
       
   313     } 
       
   314 
       
   315 // ---------------------------------------------------------------------------
       
   316 // r_qtn_cchuinotif_use_gprs_change_current_connection_text
       
   317 // Use_gprs selection item for change current connection dialog
       
   318 // ---------------------------------------------------------------------------
       
   319 //
       
   320 RESOURCE TBUF r_qtn_cchuinotif_use_gprs_change_current_connection_text
       
   321     { 
       
   322     buf = qtn_servtab_chng_current_conn_use_gprs; 
       
   323     } 
       
   324 
       
   325 // ---------------------------------------------------------------------------
       
   326 // r_qtn_cchuinotif_use_gprs_change_connection_text
       
   327 // Use_gprs selection item for change connection dialog
       
   328 // ---------------------------------------------------------------------------
       
   329 //
       
   330 RESOURCE TBUF r_qtn_cchuinotif_use_gprs_change_connection_text
       
   331     { 
       
   332     buf = qtn_servtab_chng_conn_use_gprs;
       
   333     } 
       
   334 
       
   335 // ---------------------------------------------------------------------------
       
   336 // r_qtn_servtab_conn_establsh_failed_permanently_note_text
       
   337 // Info note for incomplete settings case
       
   338 // ---------------------------------------------------------------------------
       
   339 //
       
   340 RESOURCE TBUF r_qtn_servtab_conn_establsh_failed_permanently_note_text
       
   341     { 
       
   342     buf = qtn_servtab_conn_establsh_failed_permanently; 
       
   343     }     
       
   344     
       
   345 // ---------------------------------------------------------------------------
       
   346 // r_qtn_voip_wrong_sip_auth_note_text
       
   347 // Info note for wrong username/password.
       
   348 // ---------------------------------------------------------------------------
       
   349 //
       
   350 RESOURCE TBUF r_qtn_voip_wrong_sip_auth_note_text
       
   351     { 
       
   352     buf = qtn_voip_wrong_sip_auth_note;
       
   353     }
       
   354 
       
   355 // ---------------------------------------------------------------------------
       
   356 // r_qtn_voip_changing_connectivity_failed_note_text
       
   357 // Info note for changing connectivity failed.
       
   358 // ---------------------------------------------------------------------------
       
   359 //
       
   360 RESOURCE TBUF r_qtn_voip_changing_connectivity_failed_note_text
       
   361     { 
       
   362     buf = qtn_voip_error_note_changing_connect_failed;
       
   363     }
       
   364 
       
   365 // ---------------------------------------------------------------------------
       
   366 // r_qtn_voip_error_in_connection_note_text
       
   367 // Info note for error in connection. 
       
   368 // Used when access point is not usable for calling.
       
   369 // ---------------------------------------------------------------------------
       
   370 //
       
   371 RESOURCE TBUF r_qtn_voip_error_in_connection_note_text
       
   372     { 
       
   373     buf = qtn_voip_error_in_connection;
       
   374     }
       
   375 
       
   376 // ---------------------------------------------------------------------------
       
   377 // r_qtn_servtab_ap_voip_not_supported_query_text
       
   378 // Query text for situation when access point is not usable for VoIP call.
       
   379 // Used when access point is used also by other services.
       
   380 // ---------------------------------------------------------------------------
       
   381 //
       
   382 RESOURCE TBUF r_qtn_servtab_ap_voip_not_supported_query_text
       
   383     { 
       
   384     buf = qtn_servtab_ap_voip_not_supported_query;
       
   385     }
       
   386 
       
   387 // ---------------------------------------------------------------------------
       
   388 // r_qtn_servtab_ap_voip_not_supported_query_text
       
   389 // Query text for situation when access point is not usable for VoIP call.
       
   390 // Used when accesspoint is not used by other services.
       
   391 // ---------------------------------------------------------------------------
       
   392 //
       
   393 RESOURCE TBUF r_qtn_servtab_ap_voip_not_supported_reconnect_query_text
       
   394     { 
       
   395     buf = qtn_voip_calls_not_supported_reconnect_query;
       
   396     }
       
   397 
       
   398 // -----------------------------------------------------------------------------
       
   399 // r_cchuinotif_change_connection_confirmation_query
       
   400 // Change connection confirmation query. Used when connection only changed.
       
   401 // -----------------------------------------------------------------------------
       
   402 //     
       
   403 RESOURCE DIALOG r_cchuinotif_change_connection_confirmation_query
       
   404     {
       
   405     flags = EGeneralQueryFlags;
       
   406     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   407     items =
       
   408         {
       
   409         DLG_LINE
       
   410             {
       
   411             type = EAknCtQuery;
       
   412             id = EGeneralQuery;
       
   413             control= AVKON_CONFIRMATION_QUERY 
       
   414                 { 
       
   415                 layout = EConfirmationLayout;
       
   416                 label = r_qtn_servtab_ap_voip_not_supported_query_text;
       
   417                 };
       
   418             }
       
   419         };
       
   420     }  
       
   421 
       
   422 // -----------------------------------------------------------------------------
       
   423 // r_cchuinotif_remove_and_change_connection_confirmation_query
       
   424 // Change connection confirmation query. Used when old connection is removed
       
   425 // and new one taken to use.
       
   426 // -----------------------------------------------------------------------------
       
   427 //     
       
   428 RESOURCE DIALOG r_cchuinotif_remove_and_change_connection_confirmation_query
       
   429     {
       
   430     flags = EGeneralQueryFlags;
       
   431     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   432     items =
       
   433         {
       
   434         DLG_LINE
       
   435             {
       
   436             type = EAknCtQuery;
       
   437             id = EGeneralQuery;
       
   438             control= AVKON_CONFIRMATION_QUERY 
       
   439                 { 
       
   440                 layout = EConfirmationLayout;
       
   441                 label = r_qtn_servtab_ap_voip_not_supported_reconnect_query_text;
       
   442                 };
       
   443             }
       
   444         };
       
   445     }  
       
   446 
       
   447 // ---------------------------------------------------------------------------
       
   448 // r_cchuinotif_wait_dialog
       
   449 // wait dialog
       
   450 // ---------------------------------------------------------------------------
       
   451 //
       
   452 RESOURCE DIALOG r_cchuinotif_wait_dialog
       
   453     {
       
   454     flags = EAknWaitNoteFlags | EEikDialogFlagNotifyEsc;
       
   455     buttons=R_AVKON_SOFTKEYS_CANCEL;
       
   456     items =
       
   457         {
       
   458         DLG_LINE
       
   459             {
       
   460             type = EAknCtNote;
       
   461             id = EGeneralNote;
       
   462             control = AVKON_NOTE
       
   463                 {
       
   464                 layout = EWaitLayout;
       
   465                 singular_label= "";
       
   466                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   467                 };
       
   468             }
       
   469         };
       
   470      }
       
   471