author | Sebastian Brannstrom <sebastianb@symbian.org> |
Sat, 23 Oct 2010 15:16:10 +0100 | |
branch | symbian1 |
changeset 269 | a89dc59aecbe |
parent 268 | 4f37d00ca76e |
child 347 | b8d687bb7ca1 |
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 |
{ |
|
268
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
42 |
status_pane = r_app_status_pane; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
43 |
} |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
44 |
|
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
45 |
RESOURCE STATUS_PANE_APP_MODEL r_app_status_pane |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
46 |
{ |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
47 |
panes= |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
48 |
{ |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
49 |
SPANE_PANE |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
50 |
{ |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
51 |
id = EEikStatusPaneUidNavi; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
52 |
type = EAknCtNaviPane; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
53 |
resource = r_navi_decorator; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
54 |
} |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
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; |
|
85 |
imageid = EMbmPodcastPodcatcher_64px; |
|
86 |
imagemask = EMbmPodcastPodcatcher_64px_mask; |
|
87 |
}; |
|
88 |
} |
|
89 |
}; |
|
90 |
} |
|
91 |
||
92 |
||
268
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
93 |
RESOURCE NAVI_DECORATOR r_navi_decorator |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
94 |
{ |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
95 |
type = ENaviDecoratorControlTabGroup; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
96 |
control = TAB_GROUP |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
97 |
{ |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
98 |
tab_width = EAknTabWidthWithTwoTabs; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
99 |
active = 0; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
100 |
tabs = { |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
101 |
TAB |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
102 |
{ |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
103 |
id = EPodcastTabFeeds; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
104 |
|
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
105 |
bmpfile = APPICON; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
106 |
bmpid = EMbmPodcastTab_feeds; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
107 |
bmpmask = EMbmPodcastTab_feeds_mask; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
108 |
}, |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
109 |
TAB |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
110 |
{ |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
111 |
id = EPodcastTabQueue; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
112 |
bmpfile = APPICON; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
113 |
bmpid = EMbmPodcastTab_queue; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
114 |
bmpmask = EMbmPodcastTab_queue_mask; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
115 |
} |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
116 |
}; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
117 |
}; |
4f37d00ca76e
Switched to icons in tabs
Sebastian Brannstrom <sebastianb@symbian.org>
parents:
2
diff
changeset
|
118 |
} |
2 | 119 |
|
120 |
#include "PodcastStrings.ra" |
|
121 |
#include "PodcastFeedView.ra" |
|
122 |
#include "PodcastShowsView.ra" |
|
123 |
#include "PodcastSettingsView.ra" |
|
124 |
#include "PodcastSearchView.ra" |
|
125 |
#include "PodcastQueueView.ra" |
|
126 |
#include "PodcastDialogs.ra" |