locationdataharvester/maptileservice/src/maptileservice.cpp
changeset 35 59575560d1e6
parent 31 8db05346071b
child 41 b3dd5ec3089d
--- a/locationdataharvester/maptileservice/src/maptileservice.cpp	Tue Jul 06 14:10:28 2010 +0300
+++ b/locationdataharvester/maptileservice/src/maptileservice.cpp	Wed Aug 18 09:43:18 2010 +0300
@@ -35,7 +35,7 @@
 const TInt KEnableLocationFeature  = 0x1;
 
 const char *MAPTILE_STATUS_RECEIVER = "/maptilestatuspublisher/name";
-const char *MAPTILE_STATUS_PUBLISHER = "/maptilepublisher";
+const char *MAPTILE_STATUS_PUBLISHER = "/maptilecontactpublisher";
 const char *MAPTILE_STATUS_CALENDAR_PUBLISHER = "/maptilecalpublisher";
 
 
@@ -86,7 +86,7 @@
 bool MapTileService::isLocationFeatureEnabled(AppType appType)
 {    
     //Create the centrep with uid 0x2002C3A8
-    bool iLocationFeatureEnabled = false;
+    bool enableLocationFeature = false;
     
     CRepository* centralRepository = NULL;  
      
@@ -108,13 +108,13 @@
       
         if ( ret == KErrNone && repValue == 1 )
         {
-            iLocationFeatureEnabled  = true;
+            enableLocationFeature  = true;
         }
            
          delete centralRepository;
     }
            
-    return iLocationFeatureEnabled;
+    return   enableLocationFeature;
     
 }