--- a/locationdataharvester/maptileservice/inc/maptileservice.h Thu Sep 02 20:20:42 2010 +0300
+++ b/locationdataharvester/maptileservice/inc/maptileservice.h Mon Oct 04 00:10:56 2010 +0300
@@ -24,6 +24,7 @@
#include <QtGlobal>
#include <QObject>
#include <qmobilityglobal.h>
+#include <locationservicedefines.h>
QTM_BEGIN_NAMESPACE
class QValueSpacePublisher;
@@ -38,7 +39,6 @@
#define MAPTILESERVICE_EXPORT Q_DECL_IMPORT
#endif
-class TLookupItem;
// CLASS DECLARATION
@@ -113,16 +113,24 @@
* Gets a maptile image associated with a id(contact id/calendar id).
* Returns a maptile image path if it is available otherwise returns NULL.
*
- * @param contactId app id
- * @param sourceType Source address type( Preferred, Home , Work address )
+ * @param id, entry id
+ * @param sourceType , Source address type( Preferred, Home , Work address )
* @param imagePath Maptile image path associated with the app id
* @param orientation Application current orientation.
*
* @return Returns the maptile fetching status.
*/
- int getMapTileImage( int Id, AddressType sourceType,
+ int getMapTileImage( int id, AddressType sourceType,
QString& imagePath, Qt::Orientations orientation = Qt::Vertical );
+ /**
+ * keep existing location as per user confirmation .
+ * @param id ,entry id
+ * @param sourceType Source address type( Preferred, Home , Work address )
+ * @param value ,true if user confirm as yes otherwise false.
+ */
+ void keepExistingLocation(int id ,AddressType sourceType, bool value);
+
public slots:
/**
* Receives maptile status information and emits the maptilFetchingStatusUpdate
@@ -165,7 +173,7 @@
* @param aNoOfAddress ,number of address read from databse
*/
int readEntryFromMaptileDataBase( int id, AddressType sourceType,
- TLookupItem& aLookupItem, int& aNoOfAddress );
+ MaptileLookupItem& aLookupItem, int& aNoOfAddress );
private: