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 |
#ifndef PODCAST_HRH
|
|
20 |
#define PODCAST_HRH
|
|
21 |
|
|
22 |
enum TPodcastCommandIds
|
|
23 |
{
|
|
24 |
EPodcastView = 0x1000,
|
|
25 |
EPodcastViewMain,
|
|
26 |
EPodcastViewNewShows,
|
|
27 |
EPodcastViewDownloadedShows,
|
|
28 |
EPodcastViewPendingShows,
|
|
29 |
EPodcastViewFeeds,
|
|
30 |
EPodcastPlay,
|
|
31 |
// Feeds commands
|
|
32 |
EPodcastAddFeed,
|
|
33 |
EPodcastEditFeed,
|
|
34 |
EPodcastDeleteFeed,
|
|
35 |
EPodcastDeleteFeedHardware,
|
|
36 |
EPodcastDeleteAllPlayed,
|
|
37 |
EPodcastUpdateFeed,
|
|
38 |
EPodcastUpdateAllFeeds,
|
|
39 |
EPodcastCancelUpdateAllFeeds,
|
|
40 |
EPodcastImportExportFeeds,
|
|
41 |
EPodcastImportFeeds,
|
|
42 |
EPodcastExportFeeds,
|
|
43 |
// Show commands
|
|
44 |
EPodcastDownloadShow,
|
|
45 |
EPodcastDeleteShow,
|
|
46 |
EPodcastRemoveDownload,
|
|
47 |
EPodcastRemoveAllDownloads,
|
|
48 |
EPodcastSuspendDownloads,
|
|
49 |
EPodcastResumeDownloads,
|
|
50 |
EPodcastMarkAllPlayed,
|
|
51 |
EPodcastMarkAsPlayed,
|
|
52 |
EPodcastMarkAsUnplayed,
|
|
53 |
EPodcastShowInfo,
|
|
54 |
// Common commands
|
|
55 |
EPodcastBack,
|
|
56 |
EPodcastSettings,
|
|
57 |
EPodcastSelectShowDir,
|
|
58 |
EPodcastAbout,
|
|
59 |
EPodcastHide,
|
|
60 |
EPodcastHelp,
|
|
61 |
EPodcastSearch,
|
60
|
62 |
EPodcastAddSearchResult,
|
|
63 |
EPodcastResetDb
|
2
|
64 |
};
|
|
65 |
|
|
66 |
enum TPodcastControl
|
|
67 |
{
|
|
68 |
EPodcastListViewListCtrl= 0x1000,
|
|
69 |
EPodcastSettingShowDir,
|
|
70 |
EPodcastSettingAutoDownload,
|
|
71 |
EPodcastSettingAutoUpdate,
|
|
72 |
EPodcastSettingMaxsimdls,
|
|
73 |
EPodcastSettingConnection,
|
|
74 |
EPodcastSettingIAPList,
|
|
75 |
EPodcastAboutDlg,
|
|
76 |
EPodcastFeedsToolbarExtension,
|
|
77 |
EQueryControl,
|
|
78 |
EPodcastShowInfoImage,
|
|
79 |
EWaitDlg
|
|
80 |
};
|
|
81 |
|
|
82 |
enum TShowsIconIndex
|
|
83 |
{
|
60
|
84 |
EShowIcon = 0,
|
2
|
85 |
ENewShowIcon,
|
|
86 |
EQuedShowIcon,
|
|
87 |
EDownloadingShowIcon,
|
|
88 |
EDownloadedShowIcon,
|
|
89 |
EDownloadedNewShowIcon,
|
|
90 |
EFailedShowIcon,
|
|
91 |
ESuspendedShowIcon
|
|
92 |
};
|
|
93 |
|
|
94 |
enum TConnectionSetting {
|
|
95 |
EConnectionDefault = 0,
|
|
96 |
EConnectionAlwaysAsk = 1,
|
|
97 |
EConnectionUseNetwork = 2,
|
|
98 |
EConnectionUseIap = 0x7FFF
|
|
99 |
};
|
|
100 |
|
|
101 |
#endif
|