location_plat/location_data_harvester_api/inc/locationdatalookupdb.h
changeset 30 96df3ab41000
parent 26 f3533f6eae3f
child 35 59575560d1e6
--- a/location_plat/location_data_harvester_api/inc/locationdatalookupdb.h	Fri Jun 11 13:33:47 2010 +0300
+++ b/location_plat/location_data_harvester_api/inc/locationdatalookupdb.h	Wed Jun 23 18:07:15 2010 +0300
@@ -102,6 +102,9 @@
 
     // map tile path
     QString mMapTilePath;
+    
+    //One line address
+    QString mSingleLineAddress;
 };
 
 /**
@@ -197,8 +200,23 @@
     * @param[out] aLookupItemArray List of lookup entries found.  
     */
     void getEntries( QList<QLookupItem>& aLookupItemArray, const quint32 aCollectionId = ESourceInvalid );
+    
+   /**
+    * Gets count  of lookup items.
+	* @param[in/out] aCount  The number of items in lookup table for the collection id
+    * @param[in] aCollectionId The collection id, whose whose corresponding entries needs to be fetched.
+    *            By default all the entries in the lookup db are fetched.  
+    */
+    void getCount( QList<int>& aCount,const quint32 aCollectionId = ESourceInvalid );
 
-
+   /**
+    * Gets single line address
+    * @param mId , id of the entry
+    * @param mSourceType , type of entry
+    * @return QString , address associated with cuurent id and type  
+    */
+    QString getAddressDetails( quint32 mId , quint32 mSourceType );
+    
 private:
 	
     // fills the lookup entry