mapnavproviderrefapp/inc/mnrpcoordconverter.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2007 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:  CMnrpCoordConverter class definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MNRP_COORDINATECONVERTER_H
       
    20 #define MNRP_COORDINATECONVERTER_H
       
    21 
       
    22 #include <mncoordinateconverterbase.h>
       
    23 
       
    24 class CMnrpEngine;
       
    25 class CMnrpMapModel;
       
    26 
       
    27 class CMnrpCoordConverter : public CMnCoordinateConverterBase
       
    28     {
       
    29     public:
       
    30         static CMnrpCoordConverter* NewL();
       
    31 
       
    32         ~CMnrpCoordConverter();
       
    33 
       
    34     protected: // From CMnCoordinateConverterBase
       
    35 
       
    36         TInt GetImageCoordinate(
       
    37             const TCoordinate& aWorldCoordinate,
       
    38             TPoint& aImagePoint );
       
    39 
       
    40         TInt GetWorldCoordinate(
       
    41             const TPoint& aImagePoint,
       
    42             TCoordinate& aWorldCoordinate );
       
    43 
       
    44     protected:
       
    45         CMnrpCoordConverter();
       
    46 
       
    47     private:
       
    48 
       
    49         CMnrpEngine*            iEngine;
       
    50         CMnrpMapModel*          iModel;
       
    51     };
       
    52 
       
    53 #endif /*MNTP_COORDINATECONVERTER_H*/