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_showsview
|
|
20 |
{
|
|
21 |
menubar = r_podcast_showsview_menubar;
|
|
22 |
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
|
|
23 |
toolbar = r_showsview_toolbar;
|
|
24 |
}
|
|
25 |
|
|
26 |
RESOURCE MENU_BAR r_podcast_showsview_menubar
|
|
27 |
{
|
|
28 |
titles =
|
|
29 |
{
|
|
30 |
MENU_TITLE { menu_pane = r_podcast_showsview_menu; txt = "Shows"; }
|
|
31 |
};
|
|
32 |
}
|
|
33 |
|
|
34 |
RESOURCE MENU_PANE r_podcast_showsview_menu
|
|
35 |
{
|
|
36 |
items =
|
|
37 |
{
|
|
38 |
MENU_ITEM
|
|
39 |
{
|
|
40 |
command = EPodcastMarkAllPlayed;
|
|
41 |
txt = STRING_r_view_mark_all_played_cmd;
|
|
42 |
},
|
|
43 |
MENU_ITEM
|
|
44 |
{
|
|
45 |
command = EPodcastAbout;
|
|
46 |
txt = STRING_r_view_about_cmd;
|
|
47 |
},
|
|
48 |
MENU_ITEM
|
|
49 |
{
|
|
50 |
command = EPodcastHelp;
|
|
51 |
txt = STRING_r_view_help;
|
|
52 |
},
|
|
53 |
MENU_ITEM
|
|
54 |
{
|
|
55 |
command = EAknSoftkeyExit;
|
|
56 |
txt = STRING_r_exit_cmd;
|
|
57 |
}
|
|
58 |
};
|
|
59 |
}
|
|
60 |
|
|
61 |
RESOURCE AVKON_TOOLBAR r_showsview_toolbar
|
|
62 |
{
|
|
63 |
flags = KAknToolbarFixed;
|
|
64 |
items =
|
|
65 |
{
|
|
66 |
TBAR_CTRL
|
|
67 |
{
|
|
68 |
type = EAknCtButton;
|
|
69 |
id = EPodcastUpdateFeed;
|
|
70 |
control = AVKON_BUTTON
|
|
71 |
{
|
|
72 |
states =
|
|
73 |
{
|
|
74 |
AVKON_BUTTON_STATE
|
|
75 |
{
|
|
76 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
77 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
78 |
txt = STRING_r_update_feed_short_cmd;
|
|
79 |
helptxt = STRING_r_update_feed_cmd;
|
|
80 |
}
|
|
81 |
};
|
|
82 |
};
|
|
83 |
},
|
|
84 |
TBAR_CTRL
|
|
85 |
{
|
|
86 |
type = EAknCtButton;
|
|
87 |
id = EPodcastCancelUpdateAllFeeds;
|
|
88 |
control = AVKON_BUTTON
|
|
89 |
{
|
|
90 |
states =
|
|
91 |
{
|
|
92 |
AVKON_BUTTON_STATE
|
|
93 |
{
|
|
94 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
95 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
96 |
txt = STRING_r_cancel_update_all_feeds_short_cmd;
|
|
97 |
helptxt = STRING_r_cancel_update_all_feeds_cmd;
|
|
98 |
}
|
|
99 |
};
|
|
100 |
};
|
23
|
101 |
}
|
|
102 |
#ifdef SYMBIAN1_UI
|
|
103 |
,TBAR_CTRL
|
2
|
104 |
{
|
|
105 |
type = EAknCtButton;
|
|
106 |
id = EPodcastDownloadShow;
|
|
107 |
control = AVKON_BUTTON
|
|
108 |
{
|
|
109 |
states =
|
|
110 |
{
|
|
111 |
AVKON_BUTTON_STATE
|
|
112 |
{
|
|
113 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
114 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
115 |
txt = STRING_r_view_download_show_cmd;
|
|
116 |
helptxt = STRING_r_view_download_show_cmd;
|
|
117 |
}
|
|
118 |
};
|
|
119 |
};
|
|
120 |
},
|
|
121 |
TBAR_CTRL
|
|
122 |
{
|
|
123 |
type = EAknCtButton;
|
|
124 |
id =EPodcastDeleteShow;
|
|
125 |
control = AVKON_BUTTON
|
|
126 |
{
|
|
127 |
states =
|
|
128 |
{
|
|
129 |
AVKON_BUTTON_STATE
|
|
130 |
{
|
|
131 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
132 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
133 |
txt = STRING_r_view_delete_show_cmd;
|
|
134 |
helptxt = STRING_r_view_delete_show_cmd;
|
|
135 |
}
|
|
136 |
};
|
|
137 |
};
|
|
138 |
},
|
|
139 |
TBAR_CTRL
|
|
140 |
{
|
|
141 |
type = EAknCtButton;
|
|
142 |
id = EPodcastMarkAsPlayed;
|
|
143 |
control = AVKON_BUTTON
|
|
144 |
{
|
|
145 |
states =
|
|
146 |
{
|
|
147 |
AVKON_BUTTON_STATE
|
|
148 |
{
|
|
149 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
150 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
151 |
txt = STRING_r_view_mark_as_played_cmd_short;
|
|
152 |
helptxt = STRING_r_view_mark_as_played_cmd_short;
|
|
153 |
}
|
|
154 |
};
|
|
155 |
};
|
|
156 |
},
|
|
157 |
TBAR_CTRL
|
|
158 |
{
|
|
159 |
type = EAknCtButton;
|
|
160 |
id =EPodcastMarkAsUnplayed;
|
|
161 |
control = AVKON_BUTTON
|
|
162 |
{
|
|
163 |
states =
|
|
164 |
{
|
|
165 |
AVKON_BUTTON_STATE
|
|
166 |
{
|
|
167 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
168 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
169 |
txt = STRING_r_view_mark_as_unplayed_cmd_short;
|
|
170 |
helptxt = STRING_r_view_mark_as_unplayed_cmd_short;
|
|
171 |
}
|
|
172 |
};
|
|
173 |
};
|
|
174 |
}
|
23
|
175 |
#endif
|
2
|
176 |
};
|
|
177 |
}
|
|
178 |
|
|
179 |
RESOURCE STYLUS_POPUP_MENU r_showview_popup_menu
|
|
180 |
{
|
|
181 |
items =
|
|
182 |
{
|
|
183 |
STYLUS_POPUP_MENU_ITEM
|
|
184 |
{
|
|
185 |
txt = STRING_r_view_show_info_cmd;
|
|
186 |
command = EPodcastShowInfo;
|
29
|
187 |
}
|
|
188 |
#ifndef SYMBIAN1_UI
|
|
189 |
,STYLUS_POPUP_MENU_ITEM
|
2
|
190 |
{
|
|
191 |
txt = STRING_r_view_mark_as_unplayed_cmd_short;
|
|
192 |
command = EPodcastMarkAsUnplayed;
|
|
193 |
},
|
|
194 |
STYLUS_POPUP_MENU_ITEM
|
|
195 |
{
|
|
196 |
txt = STRING_r_view_mark_as_played_cmd_short;
|
|
197 |
command = EPodcastMarkAsPlayed;
|
|
198 |
},
|
|
199 |
STYLUS_POPUP_MENU_ITEM
|
|
200 |
{
|
|
201 |
txt = STRING_r_view_download_show_cmd;
|
|
202 |
command = EPodcastDownloadShow;
|
|
203 |
},
|
|
204 |
STYLUS_POPUP_MENU_ITEM
|
|
205 |
{
|
|
206 |
txt = STRING_r_view_delete_show_cmd;
|
|
207 |
command = EPodcastDeleteShow;
|
|
208 |
}
|
29
|
209 |
#endif
|
2
|
210 |
};
|
|
211 |
}
|
|
212 |
|
|
213 |
RESOURCE DIALOG r_show_info_note
|
|
214 |
{
|
|
215 |
flags = EAknDialogGenericQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
|
|
216 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
|
|
217 |
items=
|
|
218 |
{
|
|
219 |
|
|
220 |
DLG_LINE
|
|
221 |
{
|
|
222 |
type = EAknCtPopupHeadingPane;
|
|
223 |
id = EAknMessageQueryHeaderId;
|
|
224 |
itemflags = EEikDlgItemNonFocusing;
|
|
225 |
control = AVKON_HEADING
|
|
226 |
{
|
|
227 |
headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS;
|
|
228 |
};
|
|
229 |
},
|
|
230 |
DLG_LINE
|
|
231 |
{
|
|
232 |
type = EAknCtMessageQuery;
|
|
233 |
id = EAknMessageQueryContentId;
|
|
234 |
control = AVKON_MESSAGE_QUERY
|
|
235 |
{
|
|
236 |
|
|
237 |
};
|
24
|
238 |
}
|
2
|
239 |
};
|
|
240 |
}
|
|
241 |
|