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;
|
|
85 |
imageid = EMbmPodcastPodcatcher_64px;
|
|
86 |
imagemask = EMbmPodcastPodcatcher_64px_mask;
|
|
87 |
};
|
|
88 |
}
|
|
89 |
};
|
|
90 |
}
|
|
91 |
|
|
92 |
|
272
|
93 |
RESOURCE NAVI_DECORATOR r_navi_decorator
|
|
94 |
{
|
|
95 |
type = ENaviDecoratorControlTabGroup;
|
|
96 |
control = TAB_GROUP
|
|
97 |
{
|
|
98 |
tab_width = EAknTabWidthWithTwoTabs;
|
|
99 |
active = 0;
|
|
100 |
tabs = {
|
|
101 |
TAB
|
|
102 |
{
|
|
103 |
id = EPodcastTabFeeds;
|
|
104 |
|
|
105 |
bmpfile = APPICON;
|
|
106 |
bmpid = EMbmPodcastTab_feeds;
|
|
107 |
bmpmask = EMbmPodcastTab_feeds_mask;
|
|
108 |
},
|
|
109 |
TAB
|
|
110 |
{
|
|
111 |
id = EPodcastTabQueue;
|
|
112 |
bmpfile = APPICON;
|
|
113 |
bmpid = EMbmPodcastTab_queue;
|
|
114 |
bmpmask = EMbmPodcastTab_queue_mask;
|
|
115 |
}
|
|
116 |
};
|
|
117 |
};
|
|
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"
|