connectionmonitoring/connectionmonitorui/src/ConnectionMonitorUiDocument.cpp
branchRCL_3
changeset 58 83ca720e2b9a
parent 0 5a93021fdf25
equal deleted inserted replaced
57:05bc53fe583b 58:83ca720e2b9a
       
     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:  application class
       
    15 *     
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include "ConnectionMonitorUiDocument.h"
       
    22 #include "ConnectionMonitorUiAppUi.h"
       
    23 
       
    24 // ================= MEMBER FUNCTIONS =======================
       
    25 
       
    26 // constructor
       
    27 CConnectionMonitorUiDocument::CConnectionMonitorUiDocument
       
    28     (
       
    29     CEikApplication& aApp
       
    30     )
       
    31 : CAknDocument(aApp)    
       
    32     {
       
    33     }
       
    34 
       
    35 // destructor
       
    36 CConnectionMonitorUiDocument::~CConnectionMonitorUiDocument()
       
    37     {
       
    38     }
       
    39 
       
    40 // EPOC default constructor can leave.
       
    41 void CConnectionMonitorUiDocument::ConstructL()
       
    42     {
       
    43     }
       
    44 
       
    45 // Two-phased constructor.
       
    46 CConnectionMonitorUiDocument* CConnectionMonitorUiDocument::NewL(
       
    47         CEikApplication& aApp)     // CConnectionMonitorUiApp reference
       
    48     {
       
    49     CConnectionMonitorUiDocument* myself =
       
    50         new (ELeave) CConnectionMonitorUiDocument( aApp );
       
    51     CleanupStack::PushL( myself );
       
    52     myself->ConstructL();
       
    53     CleanupStack::Pop( myself );
       
    54 
       
    55     return myself;
       
    56     }
       
    57     
       
    58 // ----------------------------------------------------
       
    59 // CConnectionMonitorUiDocument::CreateAppUiL()
       
    60 // constructs CConnectionMonitorUiAppUi
       
    61 // ----------------------------------------------------
       
    62 //
       
    63 CEikAppUi* CConnectionMonitorUiDocument::CreateAppUiL()
       
    64     {
       
    65     return new (ELeave) CConnectionMonitorUiAppUi;
       
    66     }
       
    67 
       
    68 // End of File