locationdataharvester/mylocationsengine/inc/maptileinterface.h
changeset 30 96df3ab41000
parent 26 f3533f6eae3f
equal deleted inserted replaced
26:f3533f6eae3f 30:96df3ab41000
   113     /**
   113     /**
   114      * Function for Retrieving maptile     
   114      * Function for Retrieving maptile     
   115      */
   115      */
   116     void GetMapTileL( const TReal& aLatitude, const TReal& aLongitude );    
   116     void GetMapTileL( const TReal& aLatitude, const TReal& aLongitude );    
   117 
   117 
       
   118 #ifdef MYLOCATIONENGINE_UNIT_TEST
       
   119 public:
       
   120 #else
   118 private:
   121 private:
       
   122 #endif
   119 	
   123 	
   120 	/**
   124 	/**
   121 	 * Converts geocoordinates to maptile pixel coordinate and update the 
   125 	 * Converts geocoordinates to maptile pixel coordinate and update the 
   122 	 * image saving file path to MaptileFolder\RowCol.png
   126 	 * image saving file path to MaptileFolder\RowCol.png
   123 	 */	
   127 	 */	
   127      * Interface for requesting  for a landmark object.
   131      * Interface for requesting  for a landmark object.
   128      * @param[in] aAddressInfo , geo-code address details
   132      * @param[in] aAddressInfo , geo-code address details
   129      */
   133      */
   130     void SetLandMarkDetailsL(MAddressInfo& aAddressInfo);
   134     void SetLandMarkDetailsL(MAddressInfo& aAddressInfo);
   131     
   135     
   132 protected: 
   136 #ifdef MYLOCATIONENGINE_UNIT_TEST
       
   137 public:
       
   138 #else
       
   139 protected:
       
   140 #endif
   133 	
   141 	
   134     /**
   142     /**
   135      * Derived from MMaptileGeocoderObserver
   143      * Derived from MMaptileGeocoderObserver
   136      */
   144      */
   137     void GeocodingCompleted( TInt aErrorcode, MAddressInfo& aAddressInfo );
   145     void GeocodingCompleted( TInt aErrorcode, MAddressInfo& aAddressInfo );
   139     /**
   147     /**
   140      * Derived from MMaptileGeocoderObserver
   148      * Derived from MMaptileGeocoderObserver
   141      */
   149      */
   142     void MapTileFetchingCompleted( TInt aErrorcode, const TDesC& aMapImagePath );
   150     void MapTileFetchingCompleted( TInt aErrorcode, const TDesC& aMapImagePath );
   143     
   151     
       
   152 #ifdef MYLOCATIONENGINE_UNIT_TEST
       
   153 public:
       
   154 #else
   144 private:
   155 private:
       
   156 #endif
   145     
   157     
   146     /**
   158     /**
   147      * Two phase construction
   159      * Two phase construction
   148      */
   160      */
   149     void ConstructL();
   161     void ConstructL();
   150     
   162     
       
   163 #ifdef MYLOCATIONENGINE_UNIT_TEST
       
   164 public:
       
   165 #else
   151 private:
   166 private:
       
   167 #endif
   152 	
   168 	
   153     //MaptileGeocode plugin interface instance
   169     //MaptileGeocode plugin interface instance
   154     CMaptileGeocoderPlugin* iMaptileGeocoder;
   170     CMaptileGeocoderPlugin* iMaptileGeocoder;
   155     //Flag to check street availability
   171     //Flag to check street availability
   156     TBool iStreetAvailable;
   172     TBool iStreetAvailable;