locsrv_plat/map_image_api/tsrc/testprovider/src/testproviderdocument.cpp
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2004-2005 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 CTestProviderDocument
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "testproviderappui.h"
       
    20 #include "testproviderdocument.h"
       
    21 
       
    22 // ============================ MEMBER FUNCTIONS ===============================
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 CTestProviderDocument::CTestProviderDocument(CEikApplication& aApp) 
       
    28     : CAknDocument(aApp) 
       
    29     {
       
    30     }   
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 void CTestProviderDocument::ConstructL()
       
    36     {
       
    37     }    
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // -----------------------------------------------------------------------------
       
    41 //
       
    42 CTestProviderDocument* CTestProviderDocument::NewL( CEikApplication& aApp )
       
    43     {
       
    44     CTestProviderDocument* self = new (ELeave) CTestProviderDocument(aApp);
       
    45     CleanupStack::PushL(self);
       
    46     self->ConstructL();
       
    47     CleanupStack::Pop(self);
       
    48     return self;
       
    49     }
       
    50 
       
    51 // -----------------------------------------------------------------------------
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 CTestProviderDocument::~CTestProviderDocument()
       
    55     {
       
    56     }
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 // -----------------------------------------------------------------------------
       
    60 //
       
    61 CEikAppUi* CTestProviderDocument::CreateAppUiL()
       
    62     {
       
    63     // Create the application user interface, and return a pointer to it,
       
    64     // the framework takes ownership of this object
       
    65     CEikAppUi* appUi = new (ELeave) CTestProviderAppUi;
       
    66     return appUi;
       
    67     }
       
    68 
       
    69