author | Sebastian Brannstrom <sebastianb@symbian.org> |
Sat, 04 Dec 2010 15:35:24 +0000 | |
branch | RCL_3 |
changeset 392 | 6a9baa40b241 |
parent 387 | 422f96ee6672 |
permissions | -rw-r--r-- |
2 | 1 |
/* |
2 |
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB |
|
3 |
* |
|
4 |
* All rights reserved. |
|
5 |
* This component and the accompanying materials are made available |
|
6 |
* under the terms of the License "Eclipse Public License v1.0" |
|
7 |
* which accompanies this distribution, and is available |
|
8 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 |
* |
|
10 |
* Initial Contributors: |
|
11 |
* EmbedDev AB - initial contribution. |
|
12 |
* |
|
13 |
* Contributors: |
|
14 |
* |
|
15 |
* Description: |
|
16 |
* |
|
17 |
*/ |
|
18 |
||
19 |
RESOURCE AVKON_VIEW r_podcast_queueview |
|
20 |
{ |
|
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 | 23 |
toolbar = r_queueview_toolbar; |
24 |
} |
|
25 |
||
26 |
RESOURCE MENU_BAR r_podcast_queueview_menubar |
|
27 |
{ |
|
28 |
titles = |
|
29 |
{ |
|
30 |
MENU_TITLE { menu_pane = r_podcast_queueview_menu; txt = ""; } |
|
31 |
}; |
|
32 |
} |
|
33 |
||
34 |
RESOURCE MENU_PANE r_podcast_queueview_menu |
|
35 |
{ |
|
36 |
items = |
|
37 |
{ |
|
38 |
MENU_ITEM |
|
39 |
{ |
|
40 |
command = EPodcastAbout; |
|
41 |
txt = STRING_r_view_about_cmd; |
|
42 |
}, |
|
43 |
MENU_ITEM |
|
44 |
{ |
|
45 |
command = EPodcastHelp; |
|
46 |
txt = STRING_r_view_help; |
|
47 |
}, |
|
48 |
MENU_ITEM |
|
49 |
{ |
|
50 |
command = EAknSoftkeyExit; |
|
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 |
{ |
387
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
61 |
txt = STRING_r_view_mark_as_unplayed_cmd_short; |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
62 |
command = EPodcastMarkAsUnplayed; |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
63 |
flags = EEikMenuItemSpecific; |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
64 |
}, |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
65 |
MENU_ITEM |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
66 |
{ |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
67 |
txt = STRING_r_view_mark_as_played_cmd_short; |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
68 |
command = EPodcastMarkAsPlayed; |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
69 |
flags = EEikMenuItemSpecific; |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
70 |
}, |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
71 |
MENU_ITEM |
422f96ee6672
Added mark new/old to queue view
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
383
diff
changeset
|
72 |
{ |
243
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_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
|
74 |
command = EPodcastRemoveDownload; |
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; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
76 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
77 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
78 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
79 |
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
|
80 |
command = EPodcastMoveDownloadUp; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
81 |
flags = EEikMenuItemSpecific; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
82 |
}, |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
83 |
MENU_ITEM |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
84 |
{ |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
85 |
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
|
86 |
command = EPodcastMoveDownloadDown; |
44d205147a83
Fix for bug 3730 by switching to proper S3 context menu handling
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
151
diff
changeset
|
87 |
flags = EEikMenuItemSpecific; |
2 | 88 |
} |
89 |
}; |
|
90 |
} |
|
91 |
||
92 |
RESOURCE AVKON_TOOLBAR r_queueview_toolbar |
|
93 |
{ |
|
94 |
flags = KAknToolbarFixed; |
|
95 |
items = |
|
96 |
{ |
|
97 |
||
98 |
TBAR_CTRL |
|
99 |
{ |
|
100 |
type = EAknCtButton; |
|
101 |
id =EPodcastSuspendDownloads; |
|
102 |
control = AVKON_BUTTON |
|
103 |
{ |
|
104 |
states = |
|
105 |
{ |
|
106 |
AVKON_BUTTON_STATE |
|
107 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
108 |
bmpfile = APPICON; |
368
b131f7696342
Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
308
diff
changeset
|
109 |
bmpid = EMbmPodcastDownload_pause; |
b131f7696342
Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
308
diff
changeset
|
110 |
bmpmask = EMbmPodcastDownload_pause_mask; |
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
111 |
//txt = STRING_r_suspend_download_cmd; |
2 | 112 |
helptxt = STRING_r_view_stop_downloads_cmd; |
113 |
} |
|
114 |
}; |
|
115 |
}; |
|
116 |
}, |
|
117 |
TBAR_CTRL |
|
118 |
{ |
|
119 |
type = EAknCtButton; |
|
120 |
id =EPodcastResumeDownloads; |
|
121 |
control = AVKON_BUTTON |
|
122 |
{ |
|
123 |
states = |
|
124 |
{ |
|
125 |
AVKON_BUTTON_STATE |
|
126 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
127 |
bmpfile = APPICON; |
368
b131f7696342
Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
308
diff
changeset
|
128 |
bmpid = EMbmPodcastDownload_play; |
b131f7696342
Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
308
diff
changeset
|
129 |
bmpmask = EMbmPodcastDownload_play_mask; |
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
130 |
//txt = STRING_r_view_resume_short_dls_cmd; |
2 | 131 |
helptxt = STRING_r_view_resume_downloads_cmd; |
132 |
} |
|
133 |
}; |
|
134 |
}; |
|
135 |
}, |
|
136 |
TBAR_CTRL |
|
137 |
{ |
|
138 |
type = EAknCtButton; |
|
139 |
id =EPodcastRemoveAllDownloads; |
|
140 |
control = AVKON_BUTTON |
|
141 |
{ |
|
142 |
states = |
|
143 |
{ |
|
144 |
AVKON_BUTTON_STATE |
|
145 |
{ |
|
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
146 |
bmpfile = APPICON; |
368
b131f7696342
Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
308
diff
changeset
|
147 |
bmpid = EMbmPodcastDelete_all; |
b131f7696342
Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
308
diff
changeset
|
148 |
bmpmask = EMbmPodcastDelete_all_mask; |
264
6dfdf1d9da5c
Adding new toolbar icons
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
243
diff
changeset
|
149 |
//txt = STRING_r_view_remove_all_downloads_cmd_short; |
2 | 150 |
helptxt = STRING_r_view_remove_all_downloads_cmd; |
151 |
} |
|
152 |
}; |
|
153 |
}; |
|
383
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
154 |
}, |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
155 |
TBAR_CTRL |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
156 |
{ |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
157 |
type = EAknCtButton; |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
158 |
id = EPodcastEmpty; |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
159 |
control = AVKON_BUTTON |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
160 |
{ |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
161 |
states = |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
162 |
{ |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
163 |
AVKON_BUTTON_STATE |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
164 |
{ |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
165 |
bmpfile = APPICON; |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
166 |
bmpid = EMbmPodcastEmpty; |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
167 |
bmpmask = EMbmPodcastEmpty_mask; |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
168 |
helptxt = ""; |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
169 |
} |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
170 |
}; |
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
171 |
}; |
2 | 172 |
} |
383
931d0db6374d
Catchup with Symbian1
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
368
diff
changeset
|
173 |
|
2 | 174 |
}; |
175 |
} |