application/data/PodcastQueueView.ra
author Sebastian Brannstrom <sebastianb@symbian.org>
Tue, 16 Nov 2010 10:26:34 +0000
branchRCL_3
changeset 368 b131f7696342
parent 308 1b717a43a7ee
child 383 931d0db6374d
permissions -rw-r--r--
Catch up with 5th edition
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     1
/*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     2
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     3
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     4
* All rights reserved.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     5
* This component and the accompanying materials are made available
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     6
* under the terms of the License "Eclipse Public License v1.0"
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     7
* which accompanies this distribution, and is available
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     8
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     9
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    10
* Initial Contributors:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    11
* EmbedDev AB - initial contribution.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    12
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    13
* Contributors:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    14
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    15
* Description:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    16
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    17
*/
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    18
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    19
RESOURCE AVKON_VIEW r_podcast_queueview
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    20
{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    21
	menubar = r_podcast_queueview_menubar;
308
1b717a43a7ee Queue view CBA now same as Feed View
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 301
diff changeset
    22
	cba = r_podcast_cba;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    23
	toolbar = r_queueview_toolbar;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    24
}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    25
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    26
RESOURCE MENU_BAR r_podcast_queueview_menubar
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    27
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    28
    titles =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    29
        {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    30
        MENU_TITLE { menu_pane = r_podcast_queueview_menu; txt = ""; }
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    31
        };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    32
    }
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    33
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    34
RESOURCE MENU_PANE r_podcast_queueview_menu
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    35
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    36
    items =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    37
        {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    38
 		MENU_ITEM
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    39
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    40
			command = EPodcastAbout;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    41
			txt = STRING_r_view_about_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    42
			}, 
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    43
		MENU_ITEM
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    44
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    45
			command = EPodcastHelp;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    46
			txt = STRING_r_view_help;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    47
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    48
		MENU_ITEM
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    49
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    50
			command = EAknSoftkeyExit;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    51
			txt = STRING_r_exit_cmd;
243
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    52
			},
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    53
		MENU_ITEM
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    54
			{
301
f5af16df2425 Added Info menu option to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 264
diff changeset
    55
			txt = STRING_r_view_show_info_cmd;
f5af16df2425 Added Info menu option to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 264
diff changeset
    56
			command = EPodcastShowInfo;
f5af16df2425 Added Info menu option to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 264
diff changeset
    57
			flags = EEikMenuItemSpecific;
f5af16df2425 Added Info menu option to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 264
diff changeset
    58
			},
f5af16df2425 Added Info menu option to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 264
diff changeset
    59
		MENU_ITEM
f5af16df2425 Added Info menu option to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 264
diff changeset
    60
			{
243
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    61
			txt = STRING_r_view_remove_download_short_cmd;
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    62
			command = EPodcastRemoveDownload;
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    63
			flags = EEikMenuItemSpecific;
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    64
			},
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    65
		MENU_ITEM
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    66
			{
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    67
			txt = STRING_r_view_move_up_short_cmd;
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    68
			command = EPodcastMoveDownloadUp;
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    69
			flags = EEikMenuItemSpecific;
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    70
			},
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    71
		MENU_ITEM
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    72
			{
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    73
			txt = STRING_r_view_move_down_short_cmd;
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    74
			command = EPodcastMoveDownloadDown;
44d205147a83 Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 151
diff changeset
    75
			flags = EEikMenuItemSpecific;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    76
			}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    77
        };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    78
    }
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    79
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    80
RESOURCE AVKON_TOOLBAR r_queueview_toolbar
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    81
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    82
    flags = KAknToolbarFixed;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    83
    items =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    84
        {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    85
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    86
		TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    87
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    88
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    89
			id =EPodcastSuspendDownloads;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    90
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    91
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    92
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    93
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    94
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    95
						{
264
6dfdf1d9da5c Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 243
diff changeset
    96
						bmpfile = APPICON;
368
b131f7696342 Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 308
diff changeset
    97
						bmpid = EMbmPodcastDownload_pause;
b131f7696342 Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 308
diff changeset
    98
						bmpmask = EMbmPodcastDownload_pause_mask;
264
6dfdf1d9da5c Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 243
diff changeset
    99
						//txt = STRING_r_suspend_download_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   100
						helptxt = STRING_r_view_stop_downloads_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   101
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   102
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   103
				};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   104
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   105
		TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   106
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   107
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   108
			id =EPodcastResumeDownloads;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   109
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   110
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   111
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   112
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   113
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   114
						{
264
6dfdf1d9da5c Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 243
diff changeset
   115
						bmpfile = APPICON;
368
b131f7696342 Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 308
diff changeset
   116
						bmpid = EMbmPodcastDownload_play;
b131f7696342 Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 308
diff changeset
   117
						bmpmask = EMbmPodcastDownload_play_mask;
264
6dfdf1d9da5c Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 243
diff changeset
   118
						//txt = STRING_r_view_resume_short_dls_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   119
						helptxt = STRING_r_view_resume_downloads_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   120
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   121
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   122
				};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   123
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   124
		TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   125
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   126
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   127
			id =EPodcastRemoveAllDownloads;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   128
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   129
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   130
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   131
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   132
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   133
						{
264
6dfdf1d9da5c Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 243
diff changeset
   134
						bmpfile = APPICON;
368
b131f7696342 Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 308
diff changeset
   135
						bmpid = EMbmPodcastDelete_all;
b131f7696342 Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 308
diff changeset
   136
						bmpmask = EMbmPodcastDelete_all_mask;
264
6dfdf1d9da5c Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 243
diff changeset
   137
						//txt = STRING_r_view_remove_all_downloads_cmd_short;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   138
						helptxt = STRING_r_view_remove_all_downloads_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   139
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   140
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   141
				};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   142
			}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   143
        };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   144
    }