Add pref's properties
[framework/location/libdecarta.git] / location_module / location_decarta.c
index 88f0316..fa0ba02 100755 (executable)
@@ -45,7 +45,7 @@ int g_capa_list[] = {
        TRUE,   //MAP_SERVICE_PREF_LANGUAGE
        TRUE,   //MAP_SERVICE_PREF_DISTANCE_UNIT
 
-       FALSE,  //MAP_SERVICE_PREF_PROPERTY
+       TRUE,   //MAP_SERVICE_PREF_PROPERTY
 
        TRUE,   //MAP_SERVICE_GEOCODE_TYPE
        TRUE,   //MAP_SERVICE_REVERSE_GEOCODE_TYPE
@@ -1639,6 +1639,11 @@ get_provider_capability_key (gpointer handle, LocationMapServiceType type, GList
                        g_printf("key_lang[%d], char *[%d]. Count [%d]", sizeof(key_lang), sizeof(char*), count);
 
                        break;
+               case MAP_SERVICE_PREF_PROPERTY:
+                       str_key = key_property;
+                       count = sizeof(key_property) / sizeof(char *);
+                       g_printf("key_property[%d], char *[%d]. Count [%d]", sizeof(key_property), sizeof(char*), count);
+                       break;
                case MAP_SERVICE_PREF_DISTANCE_UNIT:
                case MAP_SERVICE_ROUTE_DISTANCE_UNIT:
                        str_key = key_dist;