mpxplugins/viewplugins/plugins/embeddedplaybackviewplugin/src/mpxembeddedplaybackviewplugin.cpp
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:  Implementation of Embedded Playback view plugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include "mpxembeddedplaybackview.h"
       
    22 #include "mpxembeddedplaybackviewplugin.h"
       
    23 
       
    24 
       
    25 // ======== MEMBER FUNCTIONS ========
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 // C++ default constructor can NOT contain any code, that
       
    29 // might leave.
       
    30 // ---------------------------------------------------------------------------
       
    31 //
       
    32 CMPXEmbeddedPlaybackViewPlugin::CMPXEmbeddedPlaybackViewPlugin()
       
    33     {
       
    34     // Do nothing
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // Symbian 2nd phase constructor can leave.
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 void CMPXEmbeddedPlaybackViewPlugin::ConstructL()
       
    42     {
       
    43     // Do nothing
       
    44     }
       
    45 
       
    46 // ---------------------------------------------------------------------------
       
    47 // Two-phased constructor.
       
    48 // ---------------------------------------------------------------------------
       
    49 //
       
    50 CMPXEmbeddedPlaybackViewPlugin* CMPXEmbeddedPlaybackViewPlugin::NewL()
       
    51     {
       
    52     CMPXEmbeddedPlaybackViewPlugin* self = new ( ELeave ) CMPXEmbeddedPlaybackViewPlugin();
       
    53     CleanupStack::PushL( self );
       
    54     self->ConstructL();
       
    55     CleanupStack::Pop( self );
       
    56     return self;
       
    57     }
       
    58 
       
    59 // ---------------------------------------------------------------------------
       
    60 // Destructor
       
    61 // ---------------------------------------------------------------------------
       
    62 //
       
    63 CMPXEmbeddedPlaybackViewPlugin::~CMPXEmbeddedPlaybackViewPlugin()
       
    64     {
       
    65     // Do nothing
       
    66     }
       
    67 
       
    68 // ---------------------------------------------------------------------------
       
    69 // From CMPXAknViewPlugin
       
    70 // Construct Avkon view.
       
    71 // ---------------------------------------------------------------------------
       
    72 //
       
    73 CAknView* CMPXEmbeddedPlaybackViewPlugin::ConstructViewLC()
       
    74     {
       
    75     return CMPXEmbeddedPlaybackView::NewLC();
       
    76     }
       
    77 
       
    78 //  End of File