mapnavproviderrefapp/inc/mnrpdocument.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2006 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:  CMnrpDocument class definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MNRP_DOCUMENT_H
       
    20 #define MNRP_DOCUMENT_H
       
    21 
       
    22 #include <AknDoc.h>
       
    23 
       
    24 class CMnrpEngine;
       
    25 class CEikApplication;
       
    26 
       
    27 /** Document class of MnRefProvider component.
       
    28  *	It creates and owns Engine instance
       
    29  */
       
    30 class CMnrpDocument : public CAknDocument
       
    31     {
       
    32     public:
       
    33 
       
    34         static CMnrpDocument* NewL( CEikApplication& aApp );
       
    35         ~CMnrpDocument();
       
    36 
       
    37 		/** Returns reference to Engine instance */        
       
    38         CMnrpEngine& Engine();
       
    39 
       
    40     public: // from CAknDocument
       
    41 
       
    42         CEikAppUi* CreateAppUiL();
       
    43 
       
    44     private:
       
    45 
       
    46         CMnrpDocument( CEikApplication& aApp );
       
    47         void ConstructL();
       
    48     
       
    49     private:
       
    50         CMnrpEngine* iEngine;        
       
    51     };
       
    52 
       
    53 #endif // MNRP_DOCUMENT_H
       
    54