application/data/PodcastQueueView.ra
author Sebastian Brannstrom <sebastianb@symbian.org>
Thu, 21 Oct 2010 22:46:18 +0100
branchsymbian1
changeset 263 c71e68f962c6
parent 261 55305e953f12
child 336 3d6c1417e8bd
permissions -rw-r--r--
Fix for bug 3853
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;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    22
	cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
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;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    52
			}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    53
        };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    54
    }
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    55
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    56
RESOURCE AVKON_TOOLBAR r_queueview_toolbar
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    57
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    58
    flags = KAknToolbarFixed;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    59
    items =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    60
        {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    61
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    62
		TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    63
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    64
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    65
			id =EPodcastSuspendDownloads;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    66
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    67
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    68
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    69
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    70
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    71
						{
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
    72
						bmpfile = APPICON;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
    73
						bmpid = EMbmPodcastDwn_pause;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
    74
						bmpmask = EMbmPodcastDwn_pause_mask;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
    75
						//txt = STRING_r_suspend_download_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    76
						helptxt = STRING_r_view_stop_downloads_cmd;
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
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    81
		TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    82
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    83
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    84
			id =EPodcastResumeDownloads;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    85
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    86
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    87
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    88
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    89
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    90
						{
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
    91
						bmpfile = APPICON;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
    92
						bmpid = EMbmPodcastDwn_start;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
    93
						bmpmask = EMbmPodcastDwn_start_mask;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
    94
						//txt = STRING_r_view_resume_short_dls_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    95
						helptxt = STRING_r_view_resume_downloads_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    96
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    97
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    98
				};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    99
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   100
		TBAR_CTRL
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
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   103
			id = EPodcastRemoveDownload;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   104
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   105
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   106
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   107
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   108
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   109
						{
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
   110
						bmpfile = APPICON;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
   111
						bmpid = EMbmPodcastRemove;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
   112
						bmpmask = EMbmPodcastRemove_mask;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
   113
						//txt = STRING_r_view_remove_download_short_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   114
						helptxt = STRING_r_view_remove_download_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   115
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   116
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   117
				};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   118
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   119
		TBAR_CTRL
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
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   122
			id =EPodcastRemoveAllDownloads;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   123
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   124
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   125
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   126
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   127
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   128
						{
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
   129
						bmpfile = APPICON;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
   130
						bmpid = EMbmPodcastRemove_all;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
   131
						bmpmask = EMbmPodcastRemove_all_mask;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 182
diff changeset
   132
						//txt = STRING_r_view_remove_all_downloads_cmd_short;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   133
						helptxt = STRING_r_view_remove_all_downloads_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   134
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   135
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   136
				};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   137
			}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   138
        };
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
RESOURCE STYLUS_POPUP_MENU r_queueview_popup_menu
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
		items =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   144
		{
182
828b50176e56 Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 149
diff changeset
   145
//			STYLUS_POPUP_MENU_ITEM
828b50176e56 Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 149
diff changeset
   146
//				{
828b50176e56 Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 149
diff changeset
   147
//					txt = STRING_r_view_remove_download_short_cmd;
828b50176e56 Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 149
diff changeset
   148
//					command = EPodcastRemoveDownload;
828b50176e56 Removing "Remove" command from popup in queue view. This command exists as a toolbar button.
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 149
diff changeset
   149
//				},
145
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   150
			STYLUS_POPUP_MENU_ITEM
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   151
				{
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   152
					txt = STRING_r_view_move_up_short_cmd;
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   153
					command = EPodcastMoveDownloadUp;
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   154
				},
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   155
			STYLUS_POPUP_MENU_ITEM
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   156
				{
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   157
					txt = STRING_r_view_move_down_short_cmd;
cc0182a5da39 Fix for Bug 2604 and bulk of the work towards implementing Bug 2737
Brendan Donegan <brendand@symbian.org>
parents: 70
diff changeset
   158
					command = EPodcastMoveDownloadDown;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   159
				}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   160
		};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   161
	}