browserui/operatormenu/src/OperatorMenuDocument.cpp
changeset 51 48e827313edd
parent 37 481242ead638
child 53 f427d27b98d8
equal deleted inserted replaced
37:481242ead638 51:48e827313edd
     1 /*
       
     2 * Copyright (c) 2003 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:  COperatorMenuDocument implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "OperatorMenuDocument.h"
       
    21 #include "OperatorMenuAppUi.h"
       
    22 
       
    23 // ================= MEMBER FUNCTIONS =======================
       
    24 
       
    25 // constructor
       
    26 COperatorMenuDocument::COperatorMenuDocument( CEikApplication& aApp )
       
    27 : CAknDocument( aApp )    
       
    28     {
       
    29     }
       
    30 
       
    31 // destructor
       
    32 COperatorMenuDocument::~COperatorMenuDocument()
       
    33     {
       
    34     }
       
    35 
       
    36 // EPOC default constructor can leave.
       
    37 void COperatorMenuDocument::ConstructL()
       
    38     {
       
    39     }
       
    40 
       
    41 // Two-phased constructor.
       
    42 COperatorMenuDocument* COperatorMenuDocument::NewL( CEikApplication& aApp )
       
    43     {
       
    44     COperatorMenuDocument* self = new ( ELeave ) COperatorMenuDocument( aApp );
       
    45     CleanupStack::PushL( self );
       
    46     self->ConstructL();
       
    47     CleanupStack::Pop();
       
    48     return self;
       
    49     }
       
    50     
       
    51 // ----------------------------------------------------
       
    52 // COperatorMenuDocument::CreateAppUiL()
       
    53 // constructs COperatorMenuAppUi
       
    54 // ----------------------------------------------------
       
    55 //
       
    56 CEikAppUi* COperatorMenuDocument::CreateAppUiL()
       
    57     {
       
    58 	return new (ELeave) COperatorMenuAppUi;   
       
    59     }
       
    60 
       
    61 // End of File