mapnavproviderrefapp/inc/mnrpappserverback.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:  CMnrpAppServerBack class definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MNRP_APPSERVERBACK_H
       
    20 #define MNRP_APPSERVERBACK_H
       
    21 
       
    22 #include <AknServerApp.h>
       
    23 
       
    24 class CMnrpGeocodingService;
       
    25 class CMnrpEngine;
       
    26 
       
    27 #ifdef RD_MAPNAV_BITMAP_ACCESS
       
    28 class CMnrpMapImageService;
       
    29 #endif
       
    30 
       
    31 /** Application Server class of MnRefGeocoder component
       
    32  *	It ows Engine instance.
       
    33  */
       
    34 class CMnrpAppServerBack : public CAknAppServer
       
    35     {
       
    36     public:
       
    37         static CMnrpAppServerBack* NewL();
       
    38         ~CMnrpAppServerBack();
       
    39 
       
    40     public: // from CAknAppServer
       
    41     	/** Creates new geocoding service class and returns pointer to it */
       
    42         IMPORT_C CApaAppServiceBase* CreateServiceL( TUid aServiceType ) const;
       
    43 
       
    44     protected:
       
    45         void ConstructL();
       
    46 
       
    47     	/** Creates new geocoding service class and returns pointer to it */
       
    48         CMnrpGeocodingService* CreateGeocodingServiceL() const;
       
    49 
       
    50 #ifdef RD_MAPNAV_BITMAP_ACCESS
       
    51     	/** Creates new map image service class and returns pointer to it */
       
    52         CMnrpMapImageService* CreateMapImageServiceL() const;
       
    53 #endif
       
    54 
       
    55     private:
       
    56         CMnrpEngine* iEngine;
       
    57     };
       
    58 
       
    59 #endif // MNRP_APPSERVERBACK_H
       
    60