location_plat/location_data_harvester_api/inc/locationdatalookupdb.h
changeset 41 b3dd5ec3089d
parent 35 59575560d1e6
--- a/location_plat/location_data_harvester_api/inc/locationdatalookupdb.h	Thu Sep 02 20:20:42 2010 +0300
+++ b/location_plat/location_data_harvester_api/inc/locationdatalookupdb.h	Mon Oct 04 00:10:56 2010 +0300
@@ -108,6 +108,18 @@
 };
 
 /**
+* Location data for calendar specific.
+*/
+class QCalendarLocationDetails
+{
+public:
+    // Uid of the source entry
+    quint32 mSourceUid;
+    //One line address
+    QString mOnelineLocation;
+};
+
+/**
 * Location data lookup database class.
 */
 class DLL_EXPORT LocationDataLookupDb : public QObject
@@ -218,13 +230,31 @@
     QString getAddressDetails( quint32 mId , quint32 mSourceType );
     
     /**
-    * Gets single line address
+    * Updates the entry name 
     * @param id , id of the entry
     * @param sourceType , type of entry
     * @param name , name of entry
     */
     void updateEntryNameByIdAndType(quint32 id, quint32 sourceType , QString name);
     
+    /**
+    * Updates the calendar entry  
+    * @param id , id of the calendar entry
+    * @param location , location  
+    */
+   void updateCalendarLocationById(quint32 id,QString location);    
+   
+    /**
+    * Delete the calendar entry  
+    * @param id , id of the calendar entry
+    */
+   void deleteCalendarEntry(quint32 id); 
+   /**
+    * gets all the calendar entry  
+    * @param lookupItemArray , refference to all entry
+    */
+   void getAllCalendarEntry(QList<QCalendarLocationDetails>& lookupItemArray);
+    
 private:
 	
     // fills the lookup entry