mpxplugins/viewplugins/views/embeddedplaybackview/inc/mpxembeddedplaybackviewlayout.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 embedded playback view.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CMPXEMBEDDEDPLAYBACKVIEWLAYOUT_H
       
    20 #define C_CMPXEMBEDDEDPLAYBACKVIEWLAYOUT_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "mpxcommonuihelper.h"
       
    24 #include "mpxcommonplaybackviewlayout.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  An interface providing skin and layout data for playback view.
       
    30 *
       
    31 *  @lib mpxplaybackview.dll
       
    32 *  @since S60 v3.0
       
    33 */
       
    34 NONSHARABLE_CLASS( CMPXEmbeddedPlaybackViewLayout ) : public CMPXCommonPlaybackViewLayout
       
    35     {
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Two-phased constructor.
       
    40      *
       
    41      * @since 3.0
       
    42      * @return Pointer to newly created object.
       
    43      */
       
    44     static CMPXEmbeddedPlaybackViewLayout* NewL();
       
    45 
       
    46     /**
       
    47      * Two-phased constructor.
       
    48      *
       
    49      * @since 3.0
       
    50      * @return Pointer to newly created object.
       
    51      */
       
    52     static CMPXEmbeddedPlaybackViewLayout* NewLC();
       
    53 
       
    54     /**
       
    55      * Destructor.
       
    56      */
       
    57     ~CMPXEmbeddedPlaybackViewLayout();
       
    58 
       
    59     /**
       
    60      * Get the bitmap and mask for a given indicator.
       
    61      *
       
    62      * @since 3.0
       
    63      * @param  aIndicator   Enumeration value identifying the indicator
       
    64      * @return CGulIcon     Indicator graphic and mask. Ownership 
       
    65      *                      transferred to caller.
       
    66      */
       
    67     CGulIcon* GetIndicatorIconMaskL(
       
    68         TMPXPbvIndicator aIndicator );
       
    69         
       
    70 private:
       
    71 
       
    72     /**
       
    73      * C++ default constructor.
       
    74      */
       
    75     CMPXEmbeddedPlaybackViewLayout();
       
    76 
       
    77     /**
       
    78      * By default Symbian 2nd phase constructor is private.
       
    79      */
       
    80     void ConstructL();
       
    81     
       
    82 private: // data
       
    83 
       
    84     CMPXCommonUiHelper* iCommonUiHelper;    // own    
       
    85     };
       
    86 
       
    87 #endif  // C_CMPXEMBEDDEDPLAYBACKVIEWLAYOUT_H
       
    88 
       
    89 // End of file