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 |
|
|
58 |
RESOURCE AVKON_TOOLBAR r_searchview_toolbar
|
|
59 |
{
|
|
60 |
flags = KAknToolbarFixed;
|
|
61 |
items =
|
|
62 |
{
|
|
63 |
TBAR_CTRL
|
|
64 |
{
|
|
65 |
type = EAknCtButton;
|
|
66 |
id = EPodcastSearch;
|
|
67 |
control = AVKON_BUTTON
|
|
68 |
{
|
|
69 |
states =
|
|
70 |
{
|
|
71 |
AVKON_BUTTON_STATE
|
|
72 |
{
|
|
73 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
74 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
75 |
txt = STRING_r_search;
|
|
76 |
helptxt = STRING_r_update_all_feeds_cmd;
|
|
77 |
}
|
|
78 |
};
|
|
79 |
};
|
|
80 |
},
|
|
81 |
TBAR_CTRL
|
|
82 |
{
|
|
83 |
type = EAknCtButton;
|
|
84 |
id = EPodcastCancelUpdateAllFeeds;
|
|
85 |
control = AVKON_BUTTON
|
|
86 |
{
|
|
87 |
states =
|
|
88 |
{
|
|
89 |
AVKON_BUTTON_STATE
|
|
90 |
{
|
|
91 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
92 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
93 |
txt = STRING_r_cancel_update_all_feeds_short_cmd;
|
|
94 |
helptxt = STRING_r_cancel_update_all_feeds_cmd;
|
|
95 |
}
|
|
96 |
};
|
|
97 |
};
|
|
98 |
}/*,
|
|
99 |
TBAR_CTRL
|
|
100 |
{
|
|
101 |
type = EAknCtButton;
|
|
102 |
id = EPodcastAddSearchResult;
|
|
103 |
control = AVKON_BUTTON
|
|
104 |
{
|
|
105 |
states =
|
|
106 |
{
|
|
107 |
AVKON_BUTTON_STATE
|
|
108 |
{
|
|
109 |
//bmpfile = AVKON_BITMAP_FILE;
|
|
110 |
//bmpid = EMbmAvkonQgn_indi_find_goto;
|
|
111 |
txt = STRING_r_view_add_feed_cmd_short;
|
|
112 |
helptxt = STRING_r_view_add_feed_cmd;
|
|
113 |
}
|
|
114 |
};
|
|
115 |
};
|
|
116 |
}*/
|
|
117 |
};// items
|
|
118 |
}
|
|
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 |
|