locsrv_plat/map_image_api/tsrc/testprovider/inc/testproviderdocument.h
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:  
       
    15 *     See class description below
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MNTP_DOCUMENT_H
       
    21 #define MNTP_DOCUMENT_H
       
    22 
       
    23 #include <akndoc.h>
       
    24 
       
    25 class CTestProviderAppUi;
       
    26 class CEikApplication;
       
    27 
       
    28 /**
       
    29 *  An instance of CTestProviderDocument is the application part of the Avkon
       
    30 *  application framework for the TestProvider reference application
       
    31 */
       
    32 class CTestProviderDocument : public CAknDocument
       
    33     {
       
    34     public: // Constructors and destructor
       
    35 
       
    36         /**
       
    37         * Two-phased constructor.
       
    38         *
       
    39         * @param aApp an eikon application instance
       
    40         */
       
    41         static CTestProviderDocument* NewL( CEikApplication& aApp );
       
    42 
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         ~CTestProviderDocument();
       
    47 
       
    48     public: // from CAknDocument
       
    49 
       
    50         /**
       
    51         * CreateAppUiL creates a CTestProviderAppUi object and return a pointer 
       
    52         * to it.
       
    53         *
       
    54         * @return a pointer to the created instance of the AppUi created
       
    55         */
       
    56         CEikAppUi* CreateAppUiL();
       
    57 
       
    58     private:
       
    59 
       
    60         /**
       
    61         * C++ constructor.
       
    62         */
       
    63         CTestProviderDocument(CEikApplication& aApp);
       
    64 
       
    65         /**
       
    66         * By default Symbian 2nd phase constructor is private.
       
    67         */
       
    68         void ConstructL();
       
    69 
       
    70     };
       
    71 
       
    72 #endif // MNTP_DOCUMENT_H
       
    73