mpxplugins/viewplugins/views/mainview/data/mpxmainview.rss
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     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 mpxmainview
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // RESOURCE NAME IDENTIFIER
       
    21 NAME    MXMV // 4 letter ID
       
    22 
       
    23 // INCLUDES
       
    24 #include <avkon.rsg>
       
    25 #include <avkon.rh>
       
    26 #include <avkon.loc>
       
    27 #include <eikon.rh>
       
    28 #include <avkon.mbg>
       
    29 #include <bldvariant.hrh>
       
    30 #include <mpxmainview.mbg>
       
    31 
       
    32 #include <mpxappui.hrh>
       
    33 #include <mpxmainview.loc>
       
    34 #include "mpxmainview.hrh"
       
    35 
       
    36 
       
    37 // RESOURCE IDENTIFIER
       
    38 RESOURCE RSS_SIGNATURE { }
       
    39 
       
    40 RESOURCE TBUF 
       
    41     {
       
    42     buf = "";
       
    43     }
       
    44 
       
    45 
       
    46 // RESOURCE DEFINITIONS 
       
    47 
       
    48 // ---------------------------------------------------------------------------
       
    49 // r_mpx_main_view
       
    50 // main view information resource.
       
    51 // ---------------------------------------------------------------------------
       
    52 //
       
    53 RESOURCE AVKON_VIEW r_mpx_main_view
       
    54     {
       
    55     menubar = r_mpx_main_view_menubar;
       
    56     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
       
    57     }
       
    58 
       
    59 // ---------------------------------------------------------------------------
       
    60 // r_mpx_cui_softkeys_options_phone
       
    61 // CBA with "Options" and "Phone" Softkey.
       
    62 // ---------------------------------------------------------------------------
       
    63 //
       
    64 RESOURCE CBA r_mpx_cui_softkeys_options_phone
       
    65     {
       
    66     buttons=
       
    67         {
       
    68         CBA_BUTTON
       
    69             {
       
    70             id = EAknSoftkeyOptions;
       
    71             txt = text_softkey_option;
       
    72             },
       
    73         CBA_BUTTON
       
    74             {
       
    75             id = EMPXCmdHideApp;
       
    76             txt = qtn_softkey_hide;
       
    77             }
       
    78         };
       
    79     }
       
    80 
       
    81 // ---------------------------------------------------------------------------
       
    82 // r_mpx_main_view_menubar
       
    83 // main view menu bar.
       
    84 // ---------------------------------------------------------------------------
       
    85 //
       
    86 RESOURCE MENU_BAR r_mpx_main_view_menubar
       
    87     {
       
    88     titles =
       
    89         {
       
    90         MENU_TITLE 
       
    91             {
       
    92             menu_pane = r_mpx_main_view_menu;
       
    93             }
       
    94         };
       
    95     }
       
    96 
       
    97 // ---------------------------------------------------------------------------
       
    98 // r_mpx_main_view_menu_2
       
    99 // main view menu items.
       
   100 // ---------------------------------------------------------------------------
       
   101 //
       
   102 RESOURCE MENU_PANE r_mpx_main_view_menu
       
   103     {
       
   104     items=
       
   105         {
       
   106         MENU_ITEM
       
   107             {
       
   108             command = EMPXCmdGoToNowPlaying;
       
   109             txt = qtn_nmp_options_go_to_nowplaying;
       
   110             },
       
   111         MENU_ITEM
       
   112             {
       
   113             command = EMPXMainViewRefresh;
       
   114             txt = qtn_mus_options_update_collection;
       
   115             },
       
   116         MENU_ITEM
       
   117             {
       
   118             command = EAknCmdHelp;
       
   119             txt = qtn_options_help;
       
   120             },
       
   121         MENU_ITEM
       
   122             {
       
   123             command = EAknCmdExit;
       
   124             txt = qtn_options_exit;
       
   125             }
       
   126         };
       
   127     }
       
   128 
       
   129 // -----------------------------------------------------------------------------
       
   130 //    
       
   131 //    r_musicplayer_cui_library_view_lbx
       
   132 //    Library view's listbox resource.
       
   133 //
       
   134 // -----------------------------------------------------------------------------
       
   135 //
       
   136 RESOURCE LISTBOX r_mpx_main_view_lbx
       
   137     {
       
   138     flags = EAknListBoxSelectionList;
       
   139     }
       
   140 
       
   141 // ---------------------------------------------------------------------------
       
   142 // r_mpx_mainview_title
       
   143 // Title for main view.
       
   144 // ---------------------------------------------------------------------------
       
   145 // 
       
   146 RESOURCE TBUF r_mpx_main_view_title
       
   147     {
       
   148     buf = qtn_mus_application_name;
       
   149     }
       
   150 
       
   151 // -----------------------------------------------------------------------------
       
   152 //
       
   153 // r_mpx_refresh_after_sync
       
   154 // Text for querying refresh after a usb transfer
       
   155 //
       
   156 // -----------------------------------------------------------------------------
       
   157 //
       
   158 RESOURCE TBUF r_mpx_refresh_after_sync
       
   159     {
       
   160     buf = qtn_nmp_note_library_refresh_sync;
       
   161     }
       
   162 
       
   163 // -----------------------------------------------------------------------------
       
   164 //
       
   165 // r_mpx_track_position
       
   166 // Text for track position in playlist
       
   167 //
       
   168 // -----------------------------------------------------------------------------
       
   169 //
       
   170 RESOURCE TBUF r_mpx_track_position
       
   171     {
       
   172     buf = qtn_nmp_track_position;
       
   173     }
       
   174 
       
   175 // -----------------------------------------------------------------------------
       
   176 //   
       
   177 //    r_mpx_query_yes_no
       
   178 //    Ask the user for a yes/no question
       
   179 //
       
   180 // -----------------------------------------------------------------------------
       
   181 // 
       
   182 RESOURCE DIALOG r_mpx_query_yes_no
       
   183     {
       
   184     flags = EGeneralQueryFlags;
       
   185     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   186     items =
       
   187         {
       
   188         DLG_LINE
       
   189             {
       
   190             type = EAknCtQuery;
       
   191             id = EGeneralQuery;
       
   192             control= AVKON_CONFIRMATION_QUERY 
       
   193                 { 
       
   194                 layout = EConfirmationQueryLayout;
       
   195                 };
       
   196             }
       
   197         };
       
   198     }
       
   199 
       
   200 // End of File