mpserviceplugins/mpxsqlitepodcastdbplugin/data/PCRes.rss
changeset 19 4e84c994a771
equal deleted inserted replaced
5:2a40e88564c8 19:4e84c994a771
       
     1 /*
       
     2 * Copyright (c) 2004 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:  This file contains all the resources for the Podcast Collection
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  INCLUDES
       
    20 #include <bldvariant.hrh>
       
    21 #include <badef.rh>
       
    22 #include <pathconfiguration.hrh>
       
    23 #include "mpxpodcastcollectiondb.hrh"
       
    24 
       
    25 STRUCT MENU_ITEM
       
    26     {
       
    27     LONG   id;
       
    28     STRUCT name;
       
    29     }
       
    30 
       
    31 STRUCT MENU_ITEM_ARRAY
       
    32     {
       
    33     STRUCT array_of_menu_items[];
       
    34     }
       
    35 
       
    36 //  RESOURCE IDENTIFIER
       
    37 NAME    OAPC // 4 letter ID
       
    38 
       
    39 //  RESOURCE DEFINITIONS
       
    40 
       
    41 RESOURCE BA_RSS_SIGNATURE { }
       
    42 
       
    43 //----------------------------------------------------
       
    44 // r_mc_music_library_menu_items
       
    45 // Menu items to be displayed in the music library view
       
    46 //----------------------------------------------------
       
    47 //
       
    48 RESOURCE MENU_ITEM_ARRAY r_mc_menu_items_array
       
    49     {
       
    50     array_of_menu_items =
       
    51         {
       
    52         MENU_ITEM {id = EBrowseAll;             name = LBUF {txt = qtn_nmp_all_episodes;};},
       
    53         MENU_ITEM {id = EBrowseTitle;           name = LBUF {txt = qtn_nmp_by_title;};},
       
    54         MENU_ITEM {id = EBrowsePubDate;         name = LBUF {txt = qtn_nmp_by_publish_date;};},
       
    55         MENU_ITEM {id = EBrowseRecentlyAdded;   name = LBUF {txt = qtn_nmp_recently_added;};},
       
    56         MENU_ITEM {id = EBrowseNotPlayed;       name = LBUF {txt = qtn_nmp_not_yet_played;};}
       
    57         };
       
    58     }
       
    59 
       
    60 //----------------------------------------------------
       
    61 // r_mc_music_library_menu_items
       
    62 // Menu items to be displayed in the music library view
       
    63 //----------------------------------------------------
       
    64 //
       
    65 RESOURCE MENU_ITEM_ARRAY r_mc_menu_titles_array
       
    66     {
       
    67     array_of_menu_items =
       
    68         {
       
    69         MENU_ITEM {id = EBrowseAll;             name = LBUF {txt = qtn_nmp_title_all_episodes;};},
       
    70         MENU_ITEM {id = EBrowseTitle;           name = LBUF {txt = qtn_mus_title_titles;};},
       
    71         MENU_ITEM {id = EBrowsePubDate;         name = LBUF {txt = qtn_mus_title_publish_date;};},
       
    72         MENU_ITEM {id = EBrowseRecentlyAdded;   name = LBUF {txt = qtn_nmp_title_recently_added;};},
       
    73         MENU_ITEM {id = EBrowseNotPlayed;       name = LBUF {txt = qtn_nmp_unplayed;};}
       
    74         };
       
    75     }
       
    76 
       
    77 RESOURCE TBUF { buf="PCRES"; }
       
    78 
       
    79 
       
    80 // ** DEFAULT MUSIC FOLDER STRINGS
       
    81 
       
    82 //----------------------------------------------------
       
    83 //
       
    84 //    r_mc_default_music_folders
       
    85 //
       
    86 //----------------------------------------------------
       
    87 //
       
    88 RESOURCE ARRAY r_mc_default_music_folders
       
    89     {
       
    90     items =
       
    91         {
       
    92         LBUF {txt = text_memory_card_root_path;},
       
    93         LBUF {txt = text_phone_memory_root_path;}
       
    94         };
       
    95     }
       
    96 
       
    97 //----------------------------------------------------
       
    98 // r_mc_music_file_extensions
       
    99 // file extensions which be scanned by music collection
       
   100 //----------------------------------------------------
       
   101 //
       
   102 RESOURCE ARRAY r_mc_music_file_extensions
       
   103     {
       
   104     items =
       
   105         {
       
   106 #ifdef __WMA
       
   107         LBUF {txt = ".wma";},
       
   108 #endif
       
   109         LBUF {txt = ".mp3";},
       
   110         LBUF {txt = ".m4a";},
       
   111         LBUF {txt = ".aac";}
       
   112         };
       
   113     }
       
   114 
       
   115 //----------------------------------------------------
       
   116 // r_mc_file_extensions_mime
       
   117 // file extensions which can be scanned by music
       
   118 // collection, however, these files types must be
       
   119 // checked whether their MIME types match as well
       
   120 // because they can be DRM or video files
       
   121 //----------------------------------------------------
       
   122 //
       
   123 RESOURCE ARRAY r_mc_file_extensions_mime
       
   124     {
       
   125     items =
       
   126         {
       
   127         LBUF {txt = "";},
       
   128 #ifdef RD_RA_SUPPORT_FOR_MUSIC_PLAYER
       
   129         LBUF {txt = ".ra";},
       
   130         LBUF {txt = ".rm";},
       
   131 #endif
       
   132         LBUF {txt = ".mp4";},
       
   133         LBUF {txt = ".3gpp";},
       
   134         LBUF {txt = ".3gp";},
       
   135         LBUF {txt = ".3gpp2";},
       
   136         LBUF {txt = ".3g2";},
       
   137         LBUF {txt = ".dcf";},
       
   138         LBUF {txt = ".odf";}
       
   139         };
       
   140     }
       
   141 
       
   142 //----------------------------------------------------
       
   143 // r_mc_file_extensions_drm
       
   144 // file extensions which can be scanned by music
       
   145 // collection, however, these files types must be
       
   146 // checked which type of DRM is used
       
   147 //----------------------------------------------------
       
   148 //
       
   149 RESOURCE ARRAY r_mc_file_extensions_drm
       
   150     {
       
   151     items =
       
   152         {
       
   153         LBUF {txt = "";},
       
   154         LBUF {txt = ".dcf";},
       
   155         LBUF {txt = ".odf";}
       
   156         };
       
   157     }
       
   158 
       
   159 //----------------------------------------------------
       
   160 // r_mc_mime_types
       
   161 // Mime types which be scanned by music collection
       
   162 //----------------------------------------------------
       
   163 //
       
   164 RESOURCE ARRAY r_mc_mime_types
       
   165     {
       
   166     items =
       
   167         {
       
   168 #ifdef __WMA
       
   169         LBUF {txt = "audio/x-ms-wma";},
       
   170 #endif
       
   171 #ifdef RD_RA_SUPPORT_FOR_MUSIC_PLAYER
       
   172         LBUF {txt = "audio/x-pn-realaudio";},
       
   173         LBUF {txt = "audio/x-realaudio";},
       
   174         LBUF {txt = "audio/vnd.rn-realaudio";},
       
   175 //        LBUF {txt = "application/vnd.rn-realmedia";}
       
   176 #endif
       
   177         LBUF {txt = "audio/mpeg";},
       
   178         LBUF {txt = "audio/aac";},
       
   179         LBUF {txt = "audio/mp3";},
       
   180         LBUF {txt = "audio/x-mp3";},
       
   181         LBUF {txt = "audio/mp4";},
       
   182         LBUF {txt = "audio/3gpp";},
       
   183         LBUF {txt = "audio/m4a";},
       
   184         LBUF {txt = "audio/3gpp2";},
       
   185         LBUF {txt = "audio/mpeg4";}
       
   186         };
       
   187     }
       
   188 
       
   189 // ---------------------------------------------------------------------------
       
   190 // r_mpx_qtn_mp_recently_added
       
   191 // Text string for recently added playlist
       
   192 // ---------------------------------------------------------------------------
       
   193 //
       
   194 RESOURCE LBUF r_mpx_qtn_mp_recently_added
       
   195     {
       
   196     txt = qtn_nmp_recently_added;
       
   197     }
       
   198 
       
   199 // ---------------------------------------------------------------------------
       
   200 // r_mpx_qtn_mp_unplayed
       
   201 // Text string for not yet played playlist
       
   202 // ---------------------------------------------------------------------------
       
   203 //
       
   204 RESOURCE LBUF r_mpx_qtn_mp_unplayed
       
   205     {
       
   206     txt = qtn_nmp_not_yet_played;
       
   207     }
       
   208 
       
   209 // ---------------------------------------------------------------------------
       
   210 // r_mpx_qtn_mus_podcast_num_episodes
       
   211 // Number of episodes text for > 1 episodes or 0
       
   212 // ---------------------------------------------------------------------------
       
   213 //
       
   214 RESOURCE LBUF r_mpx_qtn_mus_podcast_num_episodes
       
   215     {
       
   216     txt = qtn_mus_podcast_num_episodes;
       
   217     }
       
   218 
       
   219 // ---------------------------------------------------------------------------
       
   220 // r_mpx_qtn_mus_podcast_one_episode
       
   221 // Number of episodes text for a single episode
       
   222 // ---------------------------------------------------------------------------
       
   223 //
       
   224 RESOURCE LBUF r_mpx_qtn_mus_podcast_one_episode
       
   225     {
       
   226     txt = qtn_mus_podcast_one_episode;
       
   227     }
       
   228 
       
   229 //----------------------------------------------------
       
   230 // r_mpx_qtn_nmp_publish_date_array
       
   231 // Menu items to be displayed in the music library view
       
   232 //----------------------------------------------------
       
   233 //
       
   234 RESOURCE MENU_ITEM_ARRAY r_mpx_qtn_nmp_publish_date_array
       
   235     {
       
   236     array_of_menu_items =
       
   237         {
       
   238         MENU_ITEM {id = EMPXPublishToday;       name = LBUF {txt = qtn_nmp_publish_date_today;};},
       
   239         MENU_ITEM {id = EMPXPublishYesterday;   name = LBUF {txt = qtn_nmp_publish_date_yesterday;};},
       
   240         MENU_ITEM {id = EMPXPublishThisWeek;    name = LBUF {txt = qtn_nmp_publish_date_this_week;};},
       
   241         MENU_ITEM {id = EMPXPublishLastWeek;    name = LBUF {txt = qtn_nmp_publish_date_last_week;};},
       
   242         MENU_ITEM {id = EMPXPublish2WeekAgo;    name = LBUF {txt = qtn_nmp_publish_date_2_weeks;};},
       
   243         MENU_ITEM {id = EMPXPublish3WeekAgo;    name = LBUF {txt = qtn_nmp_publish_date_3_weeks;};},
       
   244         MENU_ITEM {id = EMPXPublishLastMonth;   name = LBUF {txt = qtn_nmp_publish_date_last_months;};},
       
   245         MENU_ITEM {id = EMPXPublishEarlier;     name = LBUF {txt = qtn_nmp_publish_date_earlier;};},
       
   246         MENU_ITEM {id = EMPXPublishUnknown;     name = LBUF {txt = qtn_nmp_publish_date_unknown;};}
       
   247         };
       
   248     }
       
   249 
       
   250 //----------------------------------------------------
       
   251 // r_mpx_qtn_nmp_episodes_title_published_date_array
       
   252 // Episode View titles to be displayed when Episode view
       
   253 // is activated via selecting a Publish Date View category
       
   254 //----------------------------------------------------
       
   255 //
       
   256 RESOURCE MENU_ITEM_ARRAY r_mpx_qtn_nmp_episodes_title_published_date_array
       
   257     {
       
   258     array_of_menu_items =
       
   259         {
       
   260         MENU_ITEM {id = EMPXPublishToday;       name = LBUF {txt = qtn_nmp_episodes_title_published_today;};},
       
   261         MENU_ITEM {id = EMPXPublishYesterday;   name = LBUF {txt = qtn_nmp_episodes_title_published_yesterday;};},
       
   262         MENU_ITEM {id = EMPXPublishThisWeek;    name = LBUF {txt = qtn_nmp_episodes_title_published_this_week;};},
       
   263         MENU_ITEM {id = EMPXPublishLastWeek;    name = LBUF {txt = qtn_nmp_episodes_title_published_last_week;};},
       
   264         MENU_ITEM {id = EMPXPublish2WeekAgo;    name = LBUF {txt = qtn_nmp_episodes_title_published_two_weeks_ago;};},
       
   265         MENU_ITEM {id = EMPXPublish3WeekAgo;    name = LBUF {txt = qtn_nmp_episodes_title_published_three_weeks_ago;};},
       
   266         MENU_ITEM {id = EMPXPublishLastMonth;   name = LBUF {txt = qtn_nmp_episodes_title_published_last_month;};},
       
   267         MENU_ITEM {id = EMPXPublishEarlier;     name = LBUF {txt = qtn_nmp_episodes_title_published_earlier;};},
       
   268         MENU_ITEM {id = EMPXPublishUnknown;     name = LBUF {txt = qtn_nmp_episodes_title_published_date_unknown;};}
       
   269         };
       
   270     }
       
   271 
       
   272 // r_mpx_qtn_mus_podcasts
       
   273 // Text for podcast collection plugin menu item within
       
   274 // main music player view
       
   275 // ---------------------------------------------------------------------------
       
   276 //
       
   277 RESOURCE LBUF r_mpx_qtn_mus_podcasts    { txt = qtn_mus_podcasts; }
       
   278 
       
   279 // ---------------------------------------------------------------------------
       
   280 // r_mpx_qtn_mp_title_my_podcast
       
   281 // Title text for Podcast Menu View
       
   282 // ---------------------------------------------------------------------------
       
   283 //
       
   284 RESOURCE LBUF r_mpx_qtn_mp_title_my_podcast { txt = qtn_mp_title_my_podcast; }
       
   285 
       
   286 // ---------------------------------------------------------------------------
       
   287 // r_mpx_qtn_mp_title_podcasts
       
   288 // Title text for Podcast main view
       
   289 // ---------------------------------------------------------------------------
       
   290 //
       
   291 RESOURCE LBUF r_mpx_qtn_mp_title_podcasts { txt = qtn_vmp_title_podcasts; }
       
   292 
       
   293 // ---------------------------------------------------------------------------
       
   294 // r_mpx_qtn_mp_title_all_episodes
       
   295 // Title text Episodes View when accessed via "All episodes"
       
   296 // ---------------------------------------------------------------------------
       
   297 //
       
   298 RESOURCE LBUF r_mpx_qtn_mp_title_all_episodes { txt = qtn_nmp_title_all_episodes; }
       
   299 
       
   300 // ---------------------------------------------------------------------------
       
   301 // r_mpx_qtn_mus_title_publish_date
       
   302 // Title text for Publish Date View
       
   303 // ---------------------------------------------------------------------------
       
   304 //
       
   305 RESOURCE LBUF r_mpx_qtn_mus_title_publish_date { txt = qtn_mus_title_publish_date; }
       
   306 
       
   307 // ---------------------------------------------------------------------------
       
   308 // r_mpx_qtn_mus_title_publish_date
       
   309 // Title text for Titles View
       
   310 // ---------------------------------------------------------------------------
       
   311 //
       
   312 RESOURCE LBUF r_mpx_qtn_mus_title_titles { txt = qtn_mus_title_titles; }
       
   313 
       
   314 // ---------------------------------------------------------------------------
       
   315 // r_mpx_qtn_mp_title_recently_added
       
   316 // Title text Episodes View when accessed via "Recently added"
       
   317 // ---------------------------------------------------------------------------
       
   318 //
       
   319 RESOURCE LBUF r_mpx_qtn_mp_title_recently_added { txt = qtn_nmp_recently_added; }
       
   320 
       
   321 // ---------------------------------------------------------------------------
       
   322 // r_mpx_qtn_mp_title_unplayed
       
   323 // Title text Episodes View when accessed via "Not yet played"
       
   324 // ---------------------------------------------------------------------------
       
   325 //
       
   326 RESOURCE LBUF r_mpx_qtn_mp_title_unplayed { txt = qtn_nmp_unplayed; }
       
   327 
       
   328 
       
   329 // End of File