upnpsettings/upnpsharingui/data/upnpsharingui.rss
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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 Home Network
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 //  RESOURCE IDENTIFIER
       
    25 NAME    SHUI // 4 letter ID
       
    26 
       
    27 //  INCLUDES
       
    28 #include <eikon.rh>
       
    29 #include <avkon.rsg>
       
    30 #include <avkon.rh>
       
    31 #include <avkon.mbg>
       
    32 #include <avkon.loc>
       
    33 #include <data_caging_paths_strings.hrh>
       
    34 #include <appinfo.rh>
       
    35 #include <CommonDialogs.hrh> // CommonDialogs Enumerations
       
    36 #include <CommonDialogs.rh>  // CommonDialogs Resource structures
       
    37 #include <upnpsettings.loc>
       
    38 
       
    39 #include "upnpsharingui.hrh"
       
    40 
       
    41 
       
    42 //  RESOURCE DEFINITIONS 
       
    43 
       
    44 // --------------------------------------------------------------------------
       
    45 // RSS_SIGNATURE
       
    46 // Mandatory utility struct in resource file. Used by UIKON internally.
       
    47 // --------------------------------------------------------------------------
       
    48 RESOURCE RSS_SIGNATURE 
       
    49     {
       
    50     }
       
    51 
       
    52 //----------------------------------------------------------------------------
       
    53 //   
       
    54 //    r_sharingui_title_text
       
    55 //
       
    56 //----------------------------------------------------------------------------
       
    57 //
       
    58 RESOURCE TBUF r_sharingui_title_text 
       
    59     { 
       
    60     buf = qtn_iupnp_title_share;
       
    61     }
       
    62 
       
    63 //----------------------------------------------------------------------------
       
    64 //   
       
    65 //    r_sharingui_softkeys_options_back__change
       
    66 //
       
    67 //----------------------------------------------------------------------------
       
    68 //
       
    69 RESOURCE CBA r_sharingui_softkeys_options_back__change
       
    70     {
       
    71     buttons =
       
    72         {
       
    73         CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
       
    74         CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
       
    75         CBA_BUTTON {id=EAknSoftkeyChange; txt= qtn_msk_change; }
       
    76         };
       
    77     }
       
    78 
       
    79 //----------------------------------------------------------------------------
       
    80 //   
       
    81 //    r_sharingui_menubar
       
    82 //
       
    83 //----------------------------------------------------------------------------
       
    84 //
       
    85 RESOURCE MENU_BAR r_sharingui_menubar
       
    86     {
       
    87     titles =
       
    88         {
       
    89         MENU_TITLE { menu_pane = r_sharingui_menu;}
       
    90         };
       
    91     }
       
    92 
       
    93 //----------------------------------------------------------------------------
       
    94 //   
       
    95 //    r_sharingui_menu
       
    96 //
       
    97 //----------------------------------------------------------------------------
       
    98 
       
    99 RESOURCE MENU_PANE r_sharingui_menu
       
   100     {
       
   101     items =
       
   102         {
       
   103         MENU_ITEM
       
   104             { 
       
   105             command = ESharingUiCmdAppChange; 
       
   106             txt = qtn_options_change;
       
   107             },
       
   108         MENU_ITEM
       
   109             { 
       
   110             command = ESharingUiCmdRefresh; 
       
   111             txt = qtn_iupnp_options_update_content;
       
   112             },
       
   113         MENU_ITEM
       
   114             { 
       
   115             command = EAknCmdHelp;
       
   116             txt = qtn_options_help;
       
   117             },
       
   118         MENU_ITEM
       
   119             { 
       
   120             command = EAknCmdExit;
       
   121             txt = qtn_options_exit;
       
   122             }
       
   123         };
       
   124     }
       
   125 
       
   126 
       
   127 //----------------------------------------------------------------------------
       
   128 //   
       
   129 //    r_sharingui_dialog
       
   130 //
       
   131 //----------------------------------------------------------------------------
       
   132 //
       
   133 RESOURCE DIALOG r_sharingui_dialog
       
   134     { 
       
   135     title = qtn_iupnp_title_share;
       
   136     flags = EAknDialogSelectionList;
       
   137     buttons = r_sharingui_softkeys_options_back__change;
       
   138     items = 
       
   139         {
       
   140         DLG_LINE
       
   141             {
       
   142             type = KAknCtLastControlId;
       
   143             id = ESharingUiListBoxId;
       
   144             control = AVKON_SETTING_ITEM_LIST
       
   145                 {
       
   146                 flags = EAknSettingItemIncludeHiddenInOrdinal;
       
   147                 initial_number = 1;
       
   148                 items =
       
   149                     {
       
   150                     AVKON_SETTING_ITEM
       
   151                         {
       
   152                         identifier = ESharingUiSettingItemVisibility;
       
   153                         associated_resource = r_sharingui_visibility_popup_texts;
       
   154                         name = qtn_iupnp_set_sharing;
       
   155                         },
       
   156                     AVKON_SETTING_ITEM
       
   157                         {
       
   158                         identifier = ESharingUiSettingItemVisual;
       
   159                         name = qtn_iupnp_visual_albums;
       
   160                         },
       
   161                     AVKON_SETTING_ITEM
       
   162                         {
       
   163                         identifier = ESharingUiSettingItemMusic;
       
   164                         name = qtn_iupnp_music_pl;
       
   165                         }
       
   166                     };    
       
   167                 };
       
   168             }
       
   169         };
       
   170     }
       
   171 
       
   172 //----------------------------------------------------------------------------
       
   173 //   
       
   174 //    r_sharingui_visibility_editor
       
   175 //
       
   176 //----------------------------------------------------------------------------
       
   177 //
       
   178 RESOURCE POPUP_SETTING_LIST r_sharingui_visibility_editor
       
   179     {
       
   180     }
       
   181 
       
   182 //----------------------------------------------------------------------------
       
   183 //   
       
   184 //    r_sharingui_visibility_popup_texts
       
   185 //
       
   186 //----------------------------------------------------------------------------
       
   187 //
       
   188 RESOURCE AVKON_POPUP_SETTING_TEXTS r_sharingui_visibility_popup_texts
       
   189     {
       
   190     setting_texts_resource = r_sharingui_visibility_on_off_texts;
       
   191     }
       
   192 
       
   193 //----------------------------------------------------------------------------
       
   194 //   
       
   195 //    r_sharingui_visibility_on_off_texts
       
   196 //
       
   197 //----------------------------------------------------------------------------
       
   198 //
       
   199 RESOURCE ARRAY r_sharingui_visibility_on_off_texts
       
   200     {
       
   201     items =
       
   202         {
       
   203         AVKON_ENUMERATED_TEXT 
       
   204             { 
       
   205             value = ESharingUiVisibilityOn; 
       
   206             text = qtn_iupnp_set_sharing_on;
       
   207             },
       
   208         AVKON_ENUMERATED_TEXT 
       
   209             { 
       
   210             value = ESharingUiVisibilityOff; 
       
   211             text = qtn_iupnp_set_sharing_off;
       
   212             }
       
   213         };
       
   214     }
       
   215 
       
   216 //----------------------------------------------------------------------------
       
   217 //   
       
   218 //    r_sharingui_starting_file_sharing_note_dialog
       
   219 //
       
   220 //----------------------------------------------------------------------------
       
   221 //    
       
   222 RESOURCE DIALOG r_sharingui_starting_file_sharing_note_dialog
       
   223     { 
       
   224     flags = EAknWaitNoteFlags;
       
   225     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   226     items =
       
   227         {
       
   228         DLG_LINE
       
   229             {
       
   230             type = EAknCtNote;
       
   231             id = EGeneralNote;
       
   232             control = AVKON_NOTE
       
   233                 {
       
   234                 layout = EWaitLayout;
       
   235                 singular_label = qtn_iupnp_wait_sharing;
       
   236                 imageid = EMbmAvkonQgn_note_progress;
       
   237                 imagemask = EMbmAvkonQgn_note_progress_mask;
       
   238                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   239                 };
       
   240             }
       
   241         };
       
   242     }
       
   243 
       
   244 //----------------------------------------------------------------------------
       
   245 //   
       
   246 //    r_sharingui_stopping_file_sharing_note_dialog
       
   247 //
       
   248 //----------------------------------------------------------------------------
       
   249 //    
       
   250 RESOURCE DIALOG r_sharingui_stopping_file_sharing_note_dialog
       
   251     { 
       
   252     flags = EAknWaitNoteFlags;
       
   253     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   254     items =
       
   255         {
       
   256         DLG_LINE
       
   257             {
       
   258             type = EAknCtNote;
       
   259             id = EGeneralNote;
       
   260             control = AVKON_NOTE
       
   261                 {
       
   262                 layout = EWaitLayout;
       
   263                 singular_label = qtn_iupnp_wait_sharing_off;
       
   264                 imageid = EMbmAvkonQgn_note_progress;
       
   265                 imagemask = EMbmAvkonQgn_note_progress_mask;
       
   266                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   267                 };
       
   268             }
       
   269         };
       
   270     }
       
   271 
       
   272 //----------------------------------------------------------------------------
       
   273 //   
       
   274 //    r_visual_albums_share_nothing_text
       
   275 //
       
   276 //----------------------------------------------------------------------------
       
   277 //
       
   278 RESOURCE TBUF r_visual_albums_share_nothing_text 
       
   279     {
       
   280     buf = qtn_iupnp_visual_nothing;
       
   281     }
       
   282 
       
   283 
       
   284 //----------------------------------------------------------------------------
       
   285 //   
       
   286 //    r_visual_albums_share_one_text
       
   287 //
       
   288 //----------------------------------------------------------------------------
       
   289 //
       
   290 RESOURCE TBUF r_visual_albums_share_one_text 
       
   291     { 
       
   292     buf = qtn_iupnp_visual_one;
       
   293     }
       
   294 
       
   295 
       
   296 //----------------------------------------------------------------------------
       
   297 //   
       
   298 //    r_visual_albums_share_many_text
       
   299 //
       
   300 //----------------------------------------------------------------------------
       
   301 //
       
   302 RESOURCE TBUF r_visual_albums_share_many_text 
       
   303     { 
       
   304     buf = qtn_iupnp_visual_many;
       
   305     }
       
   306 
       
   307 
       
   308 //----------------------------------------------------------------------------
       
   309 //   
       
   310 //    r_music_share_nothing_text
       
   311 //
       
   312 //----------------------------------------------------------------------------
       
   313 //
       
   314 RESOURCE TBUF r_music_share_nothing_text 
       
   315     {
       
   316     buf = qtn_iupnp_music_nothing;
       
   317     }
       
   318 
       
   319 
       
   320 //----------------------------------------------------------------------------
       
   321 //   
       
   322 //    r_music_share_one_text
       
   323 //
       
   324 //----------------------------------------------------------------------------
       
   325 //
       
   326 RESOURCE TBUF r_music_share_one_text 
       
   327     { 
       
   328     buf = qtn_iupnp_music_one;
       
   329     }
       
   330 
       
   331 
       
   332 //----------------------------------------------------------------------------
       
   333 //   
       
   334 //    r_music_share_many_text
       
   335 //
       
   336 //----------------------------------------------------------------------------
       
   337 //
       
   338 RESOURCE TBUF r_music_share_many_text 
       
   339     { 
       
   340     buf = qtn_iupnp_music_many;
       
   341     }
       
   342 
       
   343 //----------------------------------------------------------------------------
       
   344 //
       
   345 //    r_settings_start_sharing_phone_error_text
       
   346 //
       
   347 //----------------------------------------------------------------------------
       
   348 //
       
   349 RESOURCE TBUF r_settings_start_sharing_phone_error_text
       
   350     {
       
   351     buf = qtn_memlo_not_enough_device_memory;
       
   352     }
       
   353 
       
   354 //----------------------------------------------------------------------------
       
   355 //   
       
   356 //    r_settings_start_sharing_error_text
       
   357 //
       
   358 //----------------------------------------------------------------------------
       
   359 //
       
   360 RESOURCE TBUF r_settings_start_sharing_error_text
       
   361     {
       
   362     buf = qtn_iupnp_start_sharing_error;
       
   363     }
       
   364 
       
   365 // --------------------------------------------------------------------------
       
   366 //   
       
   367 //    r_upnp_phone_visible_text
       
   368 //   
       
   369 // --------------------------------------------------------------------------
       
   370 RESOURCE TBUF r_upnp_phone_hidden_text
       
   371     { 
       
   372     buf = qtn_iupnp_phone_hidden;
       
   373     }
       
   374     
       
   375 // --------------------------------------------------------------------------
       
   376 //   
       
   377 //    r_upnp_phone_visible_text
       
   378 //   
       
   379 // --------------------------------------------------------------------------
       
   380 RESOURCE TBUF r_upnp_phone_visible_text
       
   381     { 
       
   382     buf = qtn_iupnp_phone_visible;
       
   383     }        
       
   384 
       
   385 //----------------------------------------------------------------------------
       
   386 //   
       
   387 //    r_sharingui_info_query
       
   388 //
       
   389 //----------------------------------------------------------------------------
       
   390 //        
       
   391 RESOURCE DIALOG r_sharingui_info_query
       
   392 {
       
   393    flags = EGeneralQueryFlags | EEikDialogFlagNoTitleBar | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
       
   394    buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   395    items=
       
   396    {
       
   397        DLG_LINE
       
   398        {
       
   399           type = EAknCtPopupHeadingPane;
       
   400           id = EAknMessageQueryHeaderId;
       
   401           control = AVKON_HEADING
       
   402           {
       
   403           };
       
   404        },
       
   405        DLG_LINE
       
   406        {
       
   407           type = EAknCtMessageQuery;
       
   408           id = EAknMessageQueryContentId;
       
   409           control = AVKON_MESSAGE_QUERY
       
   410           {
       
   411           };
       
   412         }
       
   413    };
       
   414 }
       
   415 
       
   416 //----------------------------------------------------------------------------
       
   417 //   
       
   418 //    r_sharingui_updating_content_header
       
   419 //
       
   420 //----------------------------------------------------------------------------
       
   421 //
       
   422 RESOURCE TBUF r_sharingui_updating_content_header
       
   423     { 
       
   424     buf = qtn_iupnp_updating_content_header;
       
   425     }
       
   426 
       
   427 //----------------------------------------------------------------------------
       
   428 //   
       
   429 //    r_sharingui_updating_content_note_text
       
   430 //
       
   431 //----------------------------------------------------------------------------
       
   432 //
       
   433 RESOURCE TBUF r_sharingui_updating_content_note_text 
       
   434     { 
       
   435     buf = qtn_iupnp_wait_updating_content;
       
   436     }
       
   437 
       
   438 //----------------------------------------------------------------------------
       
   439 //   
       
   440 //    r_sharingui_secondary_in_progress
       
   441 //
       
   442 //----------------------------------------------------------------------------
       
   443 //
       
   444 RESOURCE TBUF r_sharingui_secondary_in_progress
       
   445     { 
       
   446     buf = qtn_iupnp_updating_progress;
       
   447     }
       
   448 
       
   449 // End of File