remotestoragefw/rsfwnotifierplugins/data/rsfwnotplugindialog.rss
changeset 13 6b4fc789785b
parent 2 c32dc0be5eb4
equal deleted inserted replaced
2:c32dc0be5eb4 13:6b4fc789785b
     1 /*
       
     2 * Copyright (c) 2006 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 notifier plugins
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // RESOURCE IDENTIFIER
       
    20 NAME RSFN
       
    21 
       
    22 // INCLUDES
       
    23 #include 	<badef.rh>
       
    24 #include <eikon.rh>
       
    25 #include <eikon.rsg>
       
    26 #include <avkon.rsg>
       
    27 #include <avkon.hrh>
       
    28 #include <avkon.rh>
       
    29 #include <avkon.mbg>
       
    30 #include <avkon.loc>
       
    31 
       
    32 #include "avkon.loc"
       
    33 #include <rsfwnotplugindialog.loc>
       
    34 // some strings moved from rfe to here
       
    35 #include <remotefileengine.loc>
       
    36 
       
    37 // RESOURCE DEFINITIONS
       
    38 // ---------------------------------------------------------
       
    39 //   
       
    40 //    Define the resource file signature 
       
    41 //    This resource should be empty.
       
    42 //
       
    43 // ---------------------------------------------------------
       
    44 //
       
    45 RESOURCE RSS_SIGNATURE 
       
    46     { 
       
    47     }
       
    48     
       
    49 // ---------------------------------------------------------
       
    50 //   
       
    51 //    Default Document Name
       
    52 //
       
    53 // ---------------------------------------------------------
       
    54 //
       
    55 RESOURCE TBUF 
       
    56     { 
       
    57     buf=""; 
       
    58     }
       
    59 
       
    60 RESOURCE CBA r_custom_softkeys_retry_cancel
       
    61     {
       
    62     flags = EAknCBAFlagRespondWhenInvisible;
       
    63 
       
    64     buttons =
       
    65         {
       
    66         CBA_BUTTON 
       
    67             {
       
    68             id = EAknSoftkeyOk; 
       
    69             txt = qtn_rd_softkey_retry;
       
    70             },
       
    71         CBA_BUTTON 
       
    72             {
       
    73             id = EAknSoftkeyCancel; 
       
    74             txt = text_softkey_cancel;
       
    75             },
       
    76          CBA_BUTTON
       
    77             {
       
    78             id = EAknSoftkeyOk;
       
    79             txt = qgn_prop_msk_select;
       
    80             } 
       
    81         };
       
    82     }   
       
    83     
       
    84 RESOURCE CBA r_custom_softkeys_save_no
       
    85     {
       
    86     flags = EAknCBAFlagRespondWhenInvisible;
       
    87 
       
    88     buttons =
       
    89         {
       
    90         CBA_BUTTON 
       
    91             {
       
    92             id = EAknSoftkeySave; 
       
    93             txt = qtn_rd_softkey_save;
       
    94             },
       
    95         CBA_BUTTON 
       
    96             {
       
    97             id = EAknSoftkeyNo; 
       
    98             txt = text_softkey_no;
       
    99             },
       
   100         CBA_BUTTON
       
   101             {
       
   102             id = EAknSoftkeySave;
       
   103             txt = qgn_prop_msk_select;
       
   104             }     
       
   105         };
       
   106     }       
       
   107    
       
   108     
       
   109 //----------------------------------------------------
       
   110 // r_custom_retry_query
       
   111 //
       
   112 //----------------------------------------------------
       
   113 //
       
   114 RESOURCE DIALOG r_custom_retry_query
       
   115 {
       
   116     flags = EGeneralQueryFlags;
       
   117     buttons = r_custom_softkeys_retry_cancel; 
       
   118     items = 
       
   119     {
       
   120         DLG_LINE
       
   121         {
       
   122             type = EAknCtQuery;
       
   123             id = EGeneralQuery;
       
   124             control = AVKON_CONFIRMATION_QUERY
       
   125             {
       
   126                 layout = EConfirmationQueryLayout;
       
   127                 bmpfile   = AVKON_BITMAP_FILE;
       
   128                 bmpid     = EMbmAvkonQgn_note_warning;
       
   129                 bmpmask   = EMbmAvkonQgn_note_warning_mask;
       
   130             };
       
   131         }
       
   132     };
       
   133 }
       
   134 
       
   135 RESOURCE DIALOG r_transfer_wait_note
       
   136     {
       
   137     flags = EAknWaitNoteFlags;
       
   138     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   139     items =
       
   140         {
       
   141         DLG_LINE
       
   142             {
       
   143             type = EAknCtNote;
       
   144             id = EGeneralNote; 
       
   145             control= AVKON_NOTE 
       
   146                 { 
       
   147                 layout = EWaitLayout;
       
   148                 singular_label = qtn_rd_wait_transferring;
       
   149                 animation =R_QGN_GRAF_WAIT_BAR_ANIM;
       
   150                 };
       
   151             }
       
   152         };
       
   153     }
       
   154 
       
   155 
       
   156 RESOURCE DIALOG r_connecting_wait_note
       
   157     {
       
   158     flags = EAknWaitNoteFlags;
       
   159     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   160     items =
       
   161         {
       
   162         DLG_LINE
       
   163             {
       
   164             type = EAknCtNote;
       
   165             id = EGeneralNote; 
       
   166             control= AVKON_NOTE 
       
   167                 { 
       
   168                 layout = EWaitLayout;
       
   169                 singular_label = qtn_rd_wait_connecting;
       
   170                 animation =R_QGN_GRAF_WAIT_BAR_ANIM;
       
   171                 };
       
   172             }
       
   173         };
       
   174     }
       
   175 
       
   176 
       
   177 RESOURCE DIALOG r_fetching_wait_note
       
   178     {
       
   179     flags = EAknWaitNoteFlags;
       
   180     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
   181     items =
       
   182         {
       
   183         DLG_LINE
       
   184             {
       
   185             type = EAknCtNote;
       
   186             id = EGeneralNote; 
       
   187             control= AVKON_NOTE 
       
   188                 { 
       
   189                 layout = EWaitLayout;
       
   190                 singular_label = qtn_gen_note_fetching;
       
   191                 animation =R_QGN_GRAF_WAIT_BAR_ANIM;
       
   192                 };
       
   193             }
       
   194         };
       
   195     }
       
   196 
       
   197 RESOURCE DIALOG r_rsfw_not_plugin_file_name_query
       
   198     {
       
   199     flags = EGeneralQueryFlags;
       
   200     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   201     items =
       
   202         {
       
   203         DLG_LINE
       
   204             {
       
   205             type = EAknCtQuery;
       
   206             id = EGeneralQuery;
       
   207             control = AVKON_DATA_QUERY
       
   208                 {
       
   209                 layout = EDataLayout;
       
   210                 label = qtn_fldr_item_name_prmpt;
       
   211                 control = EDWIN
       
   212                     {
       
   213                     flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
       
   214                     lines = 1;
       
   215                     maxlength = 256;
       
   216                     };
       
   217                 };
       
   218             }
       
   219         };
       
   220     }
       
   221 
       
   222 //----------------------------------------------------
       
   223 // r_custom_save_query
       
   224 //
       
   225 //----------------------------------------------------
       
   226 //
       
   227 RESOURCE DIALOG r_custom_save_query
       
   228 {
       
   229     flags = EGeneralQueryFlags;
       
   230     buttons = r_custom_softkeys_save_no; 
       
   231     items = 
       
   232     {
       
   233         DLG_LINE
       
   234         {
       
   235             type = EAknCtQuery;
       
   236             id = EGeneralQuery;
       
   237             control = AVKON_CONFIRMATION_QUERY
       
   238             {
       
   239                 layout = EConfirmationQueryLayout;
       
   240                 bmpfile   = AVKON_BITMAP_FILE;
       
   241                 bmpid     = EMbmAvkonQgn_note_warning;
       
   242                 bmpmask   = EMbmAvkonQgn_note_warning_mask;
       
   243             };
       
   244         }
       
   245     };
       
   246 }
       
   247 
       
   248 //----------------------------------------------------
       
   249 // r_rsfw_plugin_rename_query
       
   250 //
       
   251 //----------------------------------------------------
       
   252 //
       
   253 RESOURCE DIALOG r_rsfw_plugin_rename_query
       
   254 {
       
   255     flags = EGeneralQueryFlags;
       
   256     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   257     items = 
       
   258     {
       
   259         DLG_LINE
       
   260         {
       
   261             type = EAknCtQuery;
       
   262             id = EGeneralQuery;
       
   263             control = AVKON_CONFIRMATION_QUERY
       
   264             {
       
   265                 layout = EConfirmationQueryLayout;
       
   266             };
       
   267         }
       
   268     };
       
   269 }
       
   270 
       
   271 RESOURCE DIALOG r_rsfw_plugin_overwrite_query
       
   272     {
       
   273     flags = EGeneralQueryFlags;
       
   274     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   275     items =
       
   276         {
       
   277         DLG_LINE
       
   278             {
       
   279             type = EAknCtQuery;
       
   280             id = EGeneralQuery;
       
   281             control = AVKON_CONFIRMATION_QUERY
       
   282                 {
       
   283                 layout = EConfirmationQueryLayout;
       
   284                 label = qtn_fldr_overwrite_query;
       
   285                 };
       
   286             }
       
   287         };
       
   288     }
       
   289 
       
   290 
       
   291 //----------------------------------------------------
       
   292 //    r_custom_usernamepasswd_dialog
       
   293 //
       
   294 // This is used to show user custom authentication 
       
   295 // dialog. 
       
   296 //
       
   297 //----------------------------------------------------
       
   298 //
       
   299 RESOURCE DIALOG r_custom_usernamepasswd_dialog
       
   300 {
       
   301     flags = EGeneralQueryFlags;
       
   302     buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
       
   303     items = {
       
   304         DLG_LINE {
       
   305             type = EAknCtMultilineQuery;
       
   306             id = EMultilineFirstLine;
       
   307             control = AVERELL_DATA_QUERY {
       
   308                 layout = EMultiDataFirstEdwin;
       
   309                 control = EDWIN {
       
   310                 		default_case = EAknEditorLowerCase;
       
   311                     flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable | EAknEditorLowerCase;
       
   312                     width = 25;
       
   313                     maxlength = 50;//KRsfwMaxUsernameLength
       
   314                     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   315                    	allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   316     								default_input_mode = EAknEditorTextInputMode;
       
   317                 };
       
   318             };
       
   319         },
       
   320         DLG_LINE {
       
   321             type = EAknCtMultilineQuery;
       
   322             id = EMultilineSecondLine;
       
   323             control = AVERELL_DATA_QUERY {
       
   324                 layout = EMultiDataSecondSecEd;
       
   325                 control = SECRETED {
       
   326                     num_letters = 50;//KRsfwMaxUsernameLength
       
   327                 };
       
   328             };
       
   329         }
       
   330     };
       
   331 }
       
   332 
       
   333 // ---------------------------------------------------
       
   334 //
       
   335 //    r_rswfplugin_not_enough_memory
       
   336 //
       
   337 // ---------------------------------------------------
       
   338 //
       
   339 RESOURCE TBUF r_rsfwplugin_not_enough_memory
       
   340     {
       
   341     buf = qtn_memlo_not_enough_memory;
       
   342     }
       
   343 
       
   344 
       
   345 // ---------------------------------------------------
       
   346 //
       
   347 //    r_rswfplugin_mmc_not_enough_memory
       
   348 //
       
   349 // ---------------------------------------------------
       
   350 //
       
   351 RESOURCE TBUF r_rsfwplugin_mmc_not_enough_memory
       
   352     {
       
   353     buf = qtn_memlo_mmc_not_enough_memory;
       
   354     }
       
   355 
       
   356 RESOURCE TBUF r_rd_query_username { buf = qtn_rd_query_username; }
       
   357 RESOURCE TBUF r_rd_query_password { buf = qtn_rd_query_password; }
       
   358 RESOURCE TBUF r_rd_drive_unavailable { buf = qtn_rd_conf_drive_unavailable; }
       
   359 RESOURCE TBUF r_rd_file_save_fail { buf = qtn_rd_query_file_save_fail; }
       
   360 RESOURCE TBUF r_rd_select_dir_back { buf = text_softkey_back; }
       
   361 RESOURCE TBUF r_rd_item_rename_query  { buf = qtn_fldr_rename_query; }
       
   362 RESOURCE TBUF r_rd_name_in_use_rename { buf = qtn_fldr_item_name_prmp; }
       
   363 RESOURCE TBUF r_rd_fldr_illegal_characters { buf = qtn_fldr_illegal_characters; } 
       
   364 RESOURCE TBUF r_rd_fldr_bad_file_name              { buf = qtn_fldr_bad_file_name; } 
       
   365 RESOURCE TBUF r_rd_fldr_name_already_used          { buf = qtn_fldr_name_already_used; } 
       
   366 RESOURCE TBUF r_rd_item_overwrite_query            { buf = qtn_fldr_overwrite_query; }
       
   367 
       
   368 // End of File
       
   369 
       
   370