memana/analyzetoolclient/configurationappgui/src/atconfigurationappguidocument.cpp
changeset 2 6a82cd05fb1e
parent 1 3ff3fecb12fe
equal deleted inserted replaced
1:3ff3fecb12fe 2:6a82cd05fb1e
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #include "atconfigurationappguidocument.h"
       
    19 #include "atconfigurationappguiappui.h"
       
    20 #include "atlog.h"
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // CATConfigurationAppGuiDocument::CATConfigurationAppGuiDocument()
       
    24 // Constructs the document class for the application.
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CATConfigurationAppGuiDocument::CATConfigurationAppGuiDocument( CEikApplication& anApplication )
       
    28     : CAknDocument( anApplication )
       
    29     {
       
    30     LOGSTR1( "ATCU CATConfigurationAppGuiDocument::CATConfigurationAppGuiDocument()" );
       
    31     }
       
    32 
       
    33 // -----------------------------------------------------------------------------
       
    34 // CATConfigurationAppGuiDocument::ConstructL()
       
    35 // Completes the second phase of Symbian object construction.
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 void CATConfigurationAppGuiDocument::ConstructL()
       
    39     {
       
    40     LOGSTR1( "ATCU CATConfigurationAppGuiDocument::CATConfigurationAppGuiDocument()" );
       
    41     }
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // CATConfigurationAppGuiDocument::NewL()
       
    45 // Creates an instance of CATConfigurationAppGuiDocument, constructs it, and
       
    46 // returns it.
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 CATConfigurationAppGuiDocument* CATConfigurationAppGuiDocument::NewL( 
       
    50 	CEikApplication& aApp )
       
    51     {
       
    52     LOGSTR1( "ATCU CATConfigurationAppGuiDocument::NewL()" );
       
    53     
       
    54     CATConfigurationAppGuiDocument* self = 
       
    55 		new ( ELeave ) CATConfigurationAppGuiDocument( aApp );
       
    56     CleanupStack::PushL( self );
       
    57     self->ConstructL();
       
    58     CleanupStack::Pop( self );
       
    59     return self;
       
    60     }
       
    61 
       
    62 // -----------------------------------------------------------------------------
       
    63 // CATConfigurationAppGuiDocument::CreateAppUiL()
       
    64 // Creates the application UI object for this document.
       
    65 // -----------------------------------------------------------------------------
       
    66 //
       
    67 CEikAppUi* CATConfigurationAppGuiDocument::CreateAppUiL()
       
    68     {
       
    69     LOGSTR1( "ATCU CATConfigurationAppGuiDocument::CreateAppUiL()" );
       
    70     
       
    71     return new ( ELeave ) CATConfigurationAppGuiAppUi;
       
    72     }
       
    73 
       
    74 // End of File
       
    75