/*
 * 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:
 *
 */

//  RESOURCE IDENTIFIER
NAME    PODC // 4 letter ID

#include <eikon.hrh>
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <appinfo.rh>
#include <podcast.mbg>
#include <commondialogs.rh>
#include <commondialogs.hrh>

#include "Podcast.hrh"
#include "languages.rss"

#define APPICON "\\resource\\apps\\Podcast.mif"
RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "Podcatcher"; }

RESOURCE EIK_APP_INFO
    {
    status_pane = r_app_status_pane;
    }

RESOURCE STATUS_PANE_APP_MODEL r_app_status_pane
    {
    panes=
        {
        SPANE_PANE
            {
            id = EEikStatusPaneUidNavi;
            type = EAknCtNaviPane;
            resource = r_navi_decorator;
            }
        };
    }

RESOURCE LOCALISABLE_APP_INFO r_podcast_localisable_app_info
    {
    short_caption = STRING_r_short_caption;
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = STRING_r_caption;
        number_of_icons = 1;
        icon_file = APPICON;
	};
    }

RESOURCE DIALOG r_dlg_about
    {
    flags = EAknDialogGenericNoteFlags;
    buttons = R_AVKON_SOFTKEYS_CLOSE;
    items =
        {
        DLG_LINE
            {
            type = EAknCtNote;
            id = EPodcastAboutDlg;
            control = AVKON_NOTE
				{
				layout = EGeneralLayout;
				singular_label = STRING_r_about_text_s60; 
				imagefile = APPICON;
				imageid = EMbmPodcastPodcatcher_64px;
				imagemask = EMbmPodcastPodcatcher_64px_mask;
				};
			}
        };
    }


RESOURCE NAVI_DECORATOR r_navi_decorator
    {
    type = ENaviDecoratorControlTabGroup;
    control = TAB_GROUP
        {
        tab_width = EAknTabWidthWithTwoTabs;
        active = 0;
        tabs = {
            TAB
                {
                id = EPodcastTabFeeds;
                
				bmpfile = APPICON;
				bmpid = EMbmPodcastTab_feeds;
				bmpmask = EMbmPodcastTab_feeds_mask;
                },
            TAB
                {
                id = EPodcastTabQueue;
                bmpfile = APPICON;
				bmpid = EMbmPodcastTab_queue;
				bmpmask = EMbmPodcastTab_queue_mask;
                }
            };
        };
    }

#include "PodcastStrings.ra"
#include "PodcastFeedView.ra"
#include "PodcastShowsView.ra"
#include "PodcastSettingsView.ra"
#include "PodcastSearchView.ra"
#include "PodcastQueueView.ra"
#include "PodcastDialogs.ra"
