application/inc/Podcast.hrh
author Sebastian Brannstrom <sebastianb@symbian.org>
Sun, 31 Oct 2010 14:15:37 +0000
branchRCL_3
changeset 321 7a0fb290f9c6
parent 272 e6d095ba6756
child 367 4b75876aa85a
permissions -rw-r--r--
Re-enabled max items parsed, because disabling this causes shows to turn up as new multiple times. This again breaks feeds that add new shows at the bottom, so we need to solve this properly.

/*
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB
*
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* EmbedDev AB - initial contribution.
*
* Contributors:
*
* Description:
*
*/

#ifndef PODCAST_HRH
#define PODCAST_HRH

enum TPodcastCommandIds
	{
	EPodcastView = 0x1000,
	EPodcastViewMain,	
	EPodcastViewNewShows,
	EPodcastViewDownloadedShows,
	EPodcastViewPendingShows,
	EPodcastViewFeeds,
	EPodcastPlay,
	// Feeds commands
	EPodcastAddFeed,
	EPodcastEditFeed,
	EPodcastDeleteFeed,
	EPodcastDeleteFeedHardware,
	EPodcastDeleteAllPlayed,
	EPodcastUpdateFeed,
	EPodcastUpdateAllFeeds,
	EPodcastCancelUpdateAllFeeds,
	EPodcastImportExportFeeds,
	EPodcastImportFeeds,
	EPodcastExportFeeds,
	// Show commands
	EPodcastDownloadShow,
	EPodcastDeleteShow,
	EPodcastRemoveDownload,
	EPodcastMoveDownloadUp,
	EPodcastMoveDownloadDown,
	EPodcastRemoveAllDownloads,
	EPodcastSuspendDownloads,
	EPodcastResumeDownloads,
	EPodcastMarkAllPlayed,
	EPodcastMarkAsPlayed,
	EPodcastMarkAsUnplayed,
	EPodcastShowInfo,
	// Common commands
	EPodcastBack,
	EPodcastSettings,
	EPodcastSelectShowDir,
	EPodcastAbout,
	EPodcastHide,
	EPodcastHelp,
	EPodcastSearch,
	EPodcastAddSearchResult,
	EPodcastResetDb,
	EPodcastTabFeeds,
	EPodcastTabQueue
};

enum TPodcastControl
	{
	EPodcastListViewListCtrl= 0x1000,	
	EPodcastSettingShowDir,
	EPodcastSettingAutoDownload,
	EPodcastSettingAutoUpdate,
	EPodcastSettingMaxsimdls,
	EPodcastSettingConnection,
	EPodcastSettingIAPList,
	EPodcastAboutDlg,
	EPodcastFeedsToolbarExtension,
	EQueryControl,
	EPodcastShowInfoImage,
	EWaitDlg
	};

enum TShowsIconIndex
	{
	EShowIcon = 0,
	ENewShowIcon,
	EQuedShowIcon,
	EDownloadingShowIcon,
	EDownloadedShowIcon,
	EDownloadedNewShowIcon,
	EFailedShowIcon,
	ESuspendedShowIcon
	};

enum TConnectionSetting {
	EConnectionDefault = 0,
	EConnectionAlwaysAsk = 1,
	EConnectionUseNetwork = 2,
	EConnectionUseIap = 0x7FFF
};

#endif