author | Sebastian Brannstrom <sebastianb@symbian.org> |
Sat, 04 Dec 2010 15:35:24 +0000 | |
branch | RCL_3 |
changeset 392 | 6a9baa40b241 |
parent 368 | b131f7696342 |
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 IDENTIFIER |
|
20 |
NAME PODC // 4 letter ID |
|
21 |
||
22 |
#include <eikon.hrh> |
|
23 |
#include <eikon.rh> |
|
24 |
#include <avkon.rsg> |
|
25 |
#include <avkon.rh> |
|
26 |
#include <avkon.mbg> |
|
27 |
#include <appinfo.rh> |
|
28 |
#include <podcast.mbg> |
|
29 |
#include <commondialogs.rh> |
|
30 |
#include <commondialogs.hrh> |
|
31 |
||
32 |
#include "Podcast.hrh" |
|
33 |
#include "languages.rss" |
|
34 |
||
35 |
#define APPICON "\\resource\\apps\\Podcast.mif" |
|
36 |
RESOURCE RSS_SIGNATURE { } |
|
37 |
||
38 |
RESOURCE TBUF { buf = "Podcatcher"; } |
|
39 |
||
40 |
RESOURCE EIK_APP_INFO |
|
41 |
{ |
|
272 | 42 |
status_pane = r_app_status_pane; |
43 |
} |
|
44 |
||
45 |
RESOURCE STATUS_PANE_APP_MODEL r_app_status_pane |
|
46 |
{ |
|
47 |
panes= |
|
48 |
{ |
|
49 |
SPANE_PANE |
|
50 |
{ |
|
51 |
id = EEikStatusPaneUidNavi; |
|
52 |
type = EAknCtNaviPane; |
|
53 |
resource = r_navi_decorator; |
|
54 |
} |
|
55 |
}; |
|
2 | 56 |
} |
57 |
||
58 |
RESOURCE LOCALISABLE_APP_INFO r_podcast_localisable_app_info |
|
59 |
{ |
|
60 |
short_caption = STRING_r_short_caption; |
|
61 |
caption_and_icon = |
|
62 |
CAPTION_AND_ICON_INFO |
|
63 |
{ |
|
64 |
caption = STRING_r_caption; |
|
65 |
number_of_icons = 1; |
|
66 |
icon_file = APPICON; |
|
67 |
}; |
|
68 |
} |
|
69 |
||
70 |
RESOURCE DIALOG r_dlg_about |
|
71 |
{ |
|
72 |
flags = EAknDialogGenericNoteFlags; |
|
73 |
buttons = R_AVKON_SOFTKEYS_CLOSE; |
|
74 |
items = |
|
75 |
{ |
|
76 |
DLG_LINE |
|
77 |
{ |
|
78 |
type = EAknCtNote; |
|
79 |
id = EPodcastAboutDlg; |
|
80 |
control = AVKON_NOTE |
|
81 |
{ |
|
82 |
layout = EGeneralLayout; |
|
83 |
singular_label = STRING_r_about_text_s60; |
|
84 |
imagefile = APPICON; |
|
368
b131f7696342
Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
367
diff
changeset
|
85 |
imageid = EMbmPodcastAppicon; |
b131f7696342
Catch up with 5th edition
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
367
diff
changeset
|
86 |
imagemask = EMbmPodcastAppicon_mask; |
2 | 87 |
}; |
88 |
} |
|
89 |
}; |
|
90 |
} |
|
91 |
||
92 |
||
272 | 93 |
RESOURCE NAVI_DECORATOR r_navi_decorator |
94 |
{ |
|
95 |
type = ENaviDecoratorControlTabGroup; |
|
96 |
control = TAB_GROUP |
|
97 |
{ |
|
367
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
98 |
tab_width = EAknTabWidthWithThreeTabs; |
272 | 99 |
active = 0; |
100 |
tabs = { |
|
367
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
101 |
TAB |
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
102 |
{ |
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
103 |
id = EPodcastTabFeeds; |
272 | 104 |
bmpfile = APPICON; |
105 |
bmpid = EMbmPodcastTab_feeds; |
|
106 |
bmpmask = EMbmPodcastTab_feeds_mask; |
|
367
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
107 |
}, |
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
108 |
TAB |
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
109 |
{ |
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
110 |
id = EPodcastTabNew; |
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
111 |
bmpfile = APPICON; |
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
112 |
bmpid = EMbmPodcastTab_new; |
4b75876aa85a
Added new shows list
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
272
diff
changeset
|
113 |
bmpmask = EMbmPodcastTab_new_mask; |
272 | 114 |
}, |
115 |
TAB |
|
116 |
{ |
|
117 |
id = EPodcastTabQueue; |
|
118 |
bmpfile = APPICON; |
|
119 |
bmpid = EMbmPodcastTab_queue; |
|
120 |
bmpmask = EMbmPodcastTab_queue_mask; |
|
121 |
} |
|
122 |
}; |
|
123 |
}; |
|
124 |
} |
|
2 | 125 |
|
126 |
#include "PodcastStrings.ra" |
|
127 |
#include "PodcastFeedView.ra" |
|
128 |
#include "PodcastShowsView.ra" |
|
129 |
#include "PodcastSettingsView.ra" |
|
130 |
#include "PodcastSearchView.ra" |
|
131 |
#include "PodcastQueueView.ra" |
|
132 |
#include "PodcastDialogs.ra" |