browserui/videoservices/src/VideoServicesDocument.cpp
branchRCL_3
changeset 48 8e6fa1719340
parent 0 84ad3b177aa3
equal deleted inserted replaced
47:6385c4c93049 48:8e6fa1719340
       
     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 the License "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:  CVideoServicesDocument implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "VideoServicesDocument.h"
       
    21 #include "VideoServicesAppUi.h"
       
    22 
       
    23 // ================= MEMBER FUNCTIONS =======================
       
    24 
       
    25 // constructor
       
    26 CVideoServicesDocument::CVideoServicesDocument( CEikApplication& aApp )
       
    27 : CAknDocument( aApp )    
       
    28     {
       
    29     }
       
    30 
       
    31 // destructor
       
    32 CVideoServicesDocument::~CVideoServicesDocument()
       
    33     {
       
    34     }
       
    35 
       
    36 // EPOC default constructor can leave.
       
    37 void CVideoServicesDocument::ConstructL()
       
    38     {
       
    39     }
       
    40 
       
    41 // Two-phased constructor.
       
    42 CVideoServicesDocument* CVideoServicesDocument::NewL( CEikApplication& aApp )
       
    43     {
       
    44     CVideoServicesDocument* self = new ( ELeave ) CVideoServicesDocument( aApp );
       
    45     CleanupStack::PushL( self );
       
    46     self->ConstructL();
       
    47     CleanupStack::Pop();
       
    48     return self;
       
    49     }
       
    50     
       
    51 // ----------------------------------------------------
       
    52 // CVideoServicesDocument::CreateAppUiL()
       
    53 // constructs CVideoServicesAppUi
       
    54 // ----------------------------------------------------
       
    55 //
       
    56 CEikAppUi* CVideoServicesDocument::CreateAppUiL()
       
    57     {
       
    58 	return new (ELeave) CVideoServicesAppUi;   
       
    59     }
       
    60 
       
    61 // End of File