author | Sebastian Brannstrom <sebastianb@symbian.org> |
Sat, 10 Jul 2010 13:35:21 +0100 | |
branch | 3rded |
changeset 176 | 1c8b56cb6409 |
parent 2 | 29cda98b007e |
child 177 | 269e3f3e544a |
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_searchview |
|
20 |
{ |
|
21 |
menubar = r_podcast_searchview_menubar; |
|
22 |
cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
23 |
// toolbar = r_searchview_toolbar; |
|
24 |
} |
|
25 |
||
26 |
||
27 |
RESOURCE MENU_BAR r_podcast_searchview_menubar |
|
28 |
{ |
|
29 |
titles = |
|
30 |
{ |
|
31 |
MENU_TITLE { menu_pane = r_podcast_searchview_menu; txt = ""; } |
|
32 |
}; |
|
33 |
} |
|
34 |
||
35 |
RESOURCE MENU_PANE r_podcast_searchview_menu |
|
36 |
{ |
|
37 |
items = |
|
38 |
{ |
|
39 |
MENU_ITEM |
|
40 |
{ |
|
41 |
command = EPodcastAbout; |
|
42 |
txt = STRING_r_view_about_cmd; |
|
43 |
}, |
|
44 |
MENU_ITEM |
|
45 |
{ |
|
46 |
command = EPodcastHelp; |
|
47 |
txt = STRING_r_view_help; |
|
48 |
}, |
|
49 |
MENU_ITEM |
|
50 |
{ |
|
51 |
command = EAknSoftkeyExit; |
|
52 |
txt = STRING_r_exit_cmd; |
|
53 |
} |
|
54 |
}; |
|
55 |
} |
|
56 |
||
57 |
||
176
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
58 |
//RESOURCE AVKON_TOOLBAR r_searchview_toolbar |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
59 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
60 |
// flags = KAknToolbarFixed; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
61 |
// items = |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
62 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
63 |
// TBAR_CTRL |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
64 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
65 |
// type = EAknCtButton; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
66 |
// id = EPodcastSearch; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
67 |
// control = AVKON_BUTTON |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
68 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
69 |
// states = |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
70 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
71 |
// AVKON_BUTTON_STATE |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
72 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
73 |
// //bmpfile = AVKON_BITMAP_FILE; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
74 |
// //bmpid = EMbmAvkonQgn_indi_find_goto; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
75 |
// txt = STRING_r_search; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
76 |
// helptxt = STRING_r_update_all_feeds_cmd; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
77 |
// } |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
78 |
// }; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
79 |
// }; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
80 |
// }, |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
81 |
// TBAR_CTRL |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
82 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
83 |
// type = EAknCtButton; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
84 |
// id = EPodcastCancelUpdateAllFeeds; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
85 |
// control = AVKON_BUTTON |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
86 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
87 |
// states = |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
88 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
89 |
// AVKON_BUTTON_STATE |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
90 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
91 |
// //bmpfile = AVKON_BITMAP_FILE; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
92 |
// //bmpid = EMbmAvkonQgn_indi_find_goto; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
93 |
// txt = STRING_r_cancel_update_all_feeds_short_cmd; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
94 |
// helptxt = STRING_r_cancel_update_all_feeds_cmd; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
95 |
// } |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
96 |
// }; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
97 |
// }; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
98 |
// }/*, |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
99 |
// TBAR_CTRL |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
100 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
101 |
// type = EAknCtButton; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
102 |
// id = EPodcastAddSearchResult; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
103 |
// control = AVKON_BUTTON |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
104 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
105 |
// states = |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
106 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
107 |
// AVKON_BUTTON_STATE |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
108 |
// { |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
109 |
// //bmpfile = AVKON_BITMAP_FILE; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
110 |
// //bmpid = EMbmAvkonQgn_indi_find_goto; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
111 |
// txt = STRING_r_view_add_feed_cmd_short; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
112 |
// helptxt = STRING_r_view_add_feed_cmd; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
113 |
// } |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
114 |
// }; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
115 |
// }; |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
116 |
// }*/ |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
117 |
// };// items |
1c8b56cb6409
Now compiles for 3rd ed, but does not launch due to malloc error in SQLite
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
118 |
// } |
2 | 119 |
|
120 |
||
121 |
RESOURCE CBA r_podcast_search_cba |
|
122 |
{ |
|
123 |
buttons = |
|
124 |
{ |
|
125 |
CBA_BUTTON |
|
126 |
{id=EAknSoftkeyOk; txt = STRING_r_cba_search;}, |
|
127 |
CBA_BUTTON |
|
128 |
{id=EAknSoftkeyCancel; txt = STRING_r_cba_cancel;} |
|
129 |
}; |
|
130 |
} |
|
131 |
RESOURCE DIALOG r_podcast_search_dlg |
|
132 |
{ |
|
133 |
buttons = r_podcast_search_cba; |
|
134 |
||
135 |
flags = EGeneralQueryFlags; |
|
136 |
title = STRING_r_search_title; |
|
137 |
items = |
|
138 |
{ |
|
139 |
DLG_LINE |
|
140 |
{ |
|
141 |
type = EAknCtQuery; |
|
142 |
id = EGeneralQuery; |
|
143 |
control= AVKON_DATA_QUERY |
|
144 |
{ |
|
145 |
layout = EDataLayout; |
|
146 |
control = EDWIN |
|
147 |
{ |
|
148 |
flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
149 |
maxlength = 256; |
|
150 |
width = 4; |
|
151 |
lines = 5; |
|
152 |
}; |
|
153 |
}; |
|
154 |
} |
|
155 |
}; |
|
156 |
} |
|
157 |
||
158 |
||
159 |
RESOURCE DIALOG r_waitdlg |
|
160 |
{ |
|
161 |
flags = EAknWaitNoteFlags; |
|
162 |
buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
163 |
items = |
|
164 |
{ |
|
165 |
DLG_LINE |
|
166 |
{ |
|
167 |
type = EAknCtNote; |
|
168 |
id = EWaitDlg; |
|
169 |
control= AVKON_NOTE |
|
170 |
{ |
|
171 |
layout = EWaitLayout; |
|
172 |
flags= EAknWaitNoteFlags; |
|
173 |
singular_label = STRING_r_searching; |
|
174 |
imagefile = APPICON; |
|
175 |
imageid = EMbmPodcastPodcatcher_64px; |
|
176 |
imagemask = EMbmPodcastPodcatcher_64px_mask; |
|
177 |
animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
178 |
}; |
|
179 |
} |
|
180 |
}; |
|
181 |
} |
|
182 |