appinstaller/AppMngr2/src/appmngr2document.cpp
changeset 80 9dcba1ee99f7
parent 77 d1838696558c
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
     1 /*
       
     2 * Copyright (c) 2008 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 CAppMngr2Document class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "appmngr2document.h"           // CAppMngr2Document
       
    20 #include "appmngr2appui.h"              // CAppMngr2AppUi
       
    21 
       
    22 
       
    23 // ======== MEMBER FUNCTIONS ========
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 // CAppMngr2Document::CAppMngr2Document()
       
    27 // ---------------------------------------------------------------------------
       
    28 //
       
    29 CAppMngr2Document::CAppMngr2Document( CEikApplication& aApp )
       
    30         : CAknDocument( aApp )
       
    31     {
       
    32     }
       
    33 
       
    34 // ---------------------------------------------------------------------------
       
    35 // CAppMngr2Document::~CAppMngr2Document()
       
    36 // ---------------------------------------------------------------------------
       
    37 //
       
    38 CAppMngr2Document::~CAppMngr2Document()
       
    39     {
       
    40     }
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // CAppMngr2Document::ConstructL()
       
    44 // ---------------------------------------------------------------------------
       
    45 //
       
    46 void CAppMngr2Document::ConstructL()
       
    47     {
       
    48     }
       
    49 
       
    50 // ---------------------------------------------------------------------------
       
    51 // CAppMngr2Document::NewL
       
    52 // ---------------------------------------------------------------------------
       
    53 //
       
    54 CAppMngr2Document* CAppMngr2Document::NewL( CEikApplication& aApp )
       
    55     {
       
    56     CAppMngr2Document* self = new (ELeave) CAppMngr2Document( aApp );
       
    57     CleanupStack::PushL( self );
       
    58     self->ConstructL();
       
    59     CleanupStack::Pop( self );
       
    60     return self;
       
    61     }
       
    62 
       
    63 // ----------------------------------------------------
       
    64 // CAppMngr2Document::CreateAppUiL()
       
    65 // ----------------------------------------------------
       
    66 //
       
    67 CEikAppUi* CAppMngr2Document::CreateAppUiL()
       
    68     {
       
    69     return new (ELeave) CAppMngr2AppUi;
       
    70     }
       
    71