location_plat/location_data_harvester_api/inc/maptilegeocoderplugin.h
changeset 20 cd10d5b85554
parent 17 0f22fb80ebba
child 26 f3533f6eae3f
equal deleted inserted replaced
17:0f22fb80ebba 20:cd10d5b85554
    20 #ifndef __MAPTILEGEOCODERPLUGIN_H__
    20 #ifndef __MAPTILEGEOCODERPLUGIN_H__
    21 #define __MAPTILEGEOCODERPLUGIN_H__
    21 #define __MAPTILEGEOCODERPLUGIN_H__
    22 
    22 
    23 // INCLUDES
    23 // INCLUDES
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 #include <LbsPosition.h> 
    25 #include <lbsposition.h> 
    26 #include <EPos_CPosLandmark.h>
    26 #include <EPos_CPosLandmark.h>
    27 
    27 
    28 //Maptile geocoder plugin uid
    28 //Maptile geocoder plugin uid
    29 const TUid KMaptileGeoCoderPluginUid = { 0x2002E6BE };
    29 const TUid KMaptileGeoCoderPluginUid = { 0x2002E6BE };
    30 
    30 
    40 public:
    40 public:
    41 	
    41 	
    42     /**
    42     /**
    43      * Gets the latitude information.
    43      * Gets the latitude information.
    44      * 
    44      * 
    45      * @param aLatitude latitude value. 
    45      * @return aLatitude latitude value. 
    46      */
    46      */
    47     virtual void GetLatitude( TReal& aLatitude ) = 0;
    47     virtual const TReal& GetLatitude( ) = 0;
    48     
    48     
    49     
    49     
    50     /**
    50     /**
    51 	 * Gets the longitude information.
    51 	 * Gets the longitude information.
    52 	 * 
    52 	 * 
    53 	 * @param aLongitude longitude value. 
    53 	 * @return aLongitude longitude value. 
    54 	 */
    54 	 */
    55     virtual void GetLongitude( TReal& aLongitude ) = 0;
    55     virtual const TReal& GetLongitude( ) = 0;
    56       
    56     
       
    57     /*
       
    58      * Gets the reference to the country name. Scope of this returned reference is limited to
       
    59      * this perticular call. User has to store it for their further processing.
       
    60      * 
       
    61      *  @return reference to the String which holds the Country Name. 
       
    62      */
       
    63     virtual const TDesC& GetCountryName()= 0;
       
    64     
       
    65     /*
       
    66      * Gets the reference to the State. Scope of this returned reference is limited to
       
    67      * this perticular call. User has to store it for their further processing.
       
    68      * 
       
    69      *  @return reference to the String which holds the State name. 
       
    70      */
       
    71     virtual const TDesC& GetState()= 0;
       
    72     
       
    73     /*
       
    74      * Gets the reference to the City. Scope of this returned reference is limited to
       
    75      * this perticular call. User has to store it for their further processing.
       
    76      * 
       
    77      *  @return reference to the String which holds the City Name. 
       
    78      */
       
    79     virtual const TDesC& GetCity()= 0;
       
    80     
       
    81     /*
       
    82      * Gets the reference to the District name. Scope of this returned reference is limited to
       
    83      * this perticular call. User has to store it for their further processing.
       
    84      * 
       
    85      *  @return reference to the String which holds the District Name. 
       
    86      */
       
    87     virtual const TDesC& GetDistrict()= 0;
       
    88     
       
    89     /*
       
    90      * Gets the reference to the postal code. Scope of this returned reference is limited to
       
    91      * this perticular call. User has to store it for their further processing.
       
    92      * 
       
    93      *  @return reference to the String which holds the postal code. 
       
    94      */
       
    95     virtual  const TDesC& GetPincode()= 0;
       
    96     
       
    97     /*
       
    98      * Gets the reference to the thoroughfare name. Scope of this returned reference is limited to
       
    99      * this perticular call. User has to store it for their further processing.
       
   100      * 
       
   101      *  @return reference to the String which holds the thoroughfare name. 
       
   102      */
       
   103     virtual const TDesC& GetThoroughfareName()= 0;
       
   104     
       
   105     /*
       
   106      * Gets the reference to the thoroughfare number. Scope of this returned reference is limited to
       
   107      * this perticular call. User has to store it for their further processing.
       
   108      * 
       
   109      *  @return reference to the String which holds the thoroughfare number. 
       
   110      */
       
   111     virtual const TDesC& GetThoroughfareNumber() = 0;
       
   112          
    57 };
   113 };
    58 
   114 
    59 
   115 
    60 
   116 
    61 /**
   117 /**