mpxplugins/viewplugins/views/podcastplaybackview/inc/mpxpodcastplaybackviewlayout.h
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  An interface providing skin and layout data for podcast playback view.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CMPXPODCASTPLAYBACKVIEWLAYOUT_H
       
    20 #define C_CMPXPODCASTPLAYBACKVIEWLAYOUT_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "mpxcommonplaybackviewlayout.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *  An interface providing skin and layout data for podcast playback view.
       
    29 *
       
    30 *  @lib mpxpodcastplaybackview.dll
       
    31 *  @since S60 v3.0
       
    32 */
       
    33 NONSHARABLE_CLASS( CMPXPodcastPlaybackViewLayout ) : public CMPXCommonPlaybackViewLayout
       
    34     {
       
    35 public:
       
    36 
       
    37     /**
       
    38      * Two-phased constructor.
       
    39      *
       
    40      * @since 3.0
       
    41      * @return Pointer to newly created object.
       
    42      */
       
    43     static CMPXPodcastPlaybackViewLayout* NewL();
       
    44 
       
    45     /**
       
    46      * Two-phased constructor.
       
    47      *
       
    48      * @since 3.0
       
    49      * @return Pointer to newly created object.
       
    50      */
       
    51     static CMPXPodcastPlaybackViewLayout* NewLC();
       
    52 
       
    53     /**
       
    54      * Destructor.
       
    55      */
       
    56     ~CMPXPodcastPlaybackViewLayout();
       
    57 
       
    58     /**
       
    59      * Get the bitmap and mask for a given indicator.
       
    60      *
       
    61      * @since 3.0
       
    62      * @param  aIndicator   Enumeration value identifying the indicator
       
    63      * @return CGulIcon     Indicator graphic and mask. Ownership 
       
    64      *                      transferred to caller.
       
    65      */
       
    66     CGulIcon* GetIndicatorIconMaskL(
       
    67         TMPXPbvIndicator aIndicator );
       
    68 
       
    69 private:
       
    70 
       
    71     /**
       
    72      * C++ default constructor.
       
    73      */
       
    74     CMPXPodcastPlaybackViewLayout();
       
    75 
       
    76     /**
       
    77      * By default Symbian 2nd phase constructor is private.
       
    78      */
       
    79     void ConstructL();
       
    80     };
       
    81 
       
    82 #endif  // C_CMPXPODCASTPLAYBACKVIEWLAYOUT_H
       
    83 
       
    84 // End of file