omaprovisioning/provisioning/ProvisioningCx/Src/CWPCxDocument.cpp
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2 * Copyright (c) 2002 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:  Dumper application
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  INCLUDE FILES
       
    20 #include "CWPCxDocument.h"
       
    21 #include "CWPCxAppUi.h"
       
    22 
       
    23 // ================= MEMBER FUNCTIONS =======================
       
    24 
       
    25 // C++ constructor
       
    26 CWPCxDocument::CWPCxDocument( CEikApplication& aApp )
       
    27 : CAknDocument(aApp)
       
    28     {
       
    29     }
       
    30 
       
    31 // destructor
       
    32 CWPCxDocument::~CWPCxDocument()
       
    33     {
       
    34     }
       
    35 
       
    36 // EPOC default constructor can leave.
       
    37 void CWPCxDocument::ConstructL()
       
    38     {
       
    39     }
       
    40 
       
    41 // Two-phased constructor.
       
    42 CWPCxDocument* CWPCxDocument::NewL( CEikApplication& aApp )
       
    43     {
       
    44     CWPCxDocument* self = new (ELeave) CWPCxDocument( aApp );
       
    45     CleanupStack::PushL( self );
       
    46     self->ConstructL();
       
    47     CleanupStack::Pop();
       
    48 
       
    49     return self;
       
    50     }
       
    51     
       
    52 // ----------------------------------------------------
       
    53 // CWPCxDocument::CreateAppUiL
       
    54 // ----------------------------------------------------
       
    55 //
       
    56 CEikAppUi* CWPCxDocument::CreateAppUiL()
       
    57     {
       
    58     return new (ELeave) CWPCxAppUi;
       
    59     }
       
    60 
       
    61 // End of File