From a4f2fa4b624fac23210f2b80ac9bb2cb4e4f9b18 Mon Sep 17 00:00:00 2001 From: Minjune Kim Date: Wed, 22 Aug 2012 15:38:56 +0900 Subject: [PATCH] Add pref's properties --- debian/changelog | 7 +++++++ location_module/location_decarta.c | 7 ++++++- location_module/location_decarta.h | 5 +++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ad727a4..248ffba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libdecarta (0.2.7-18) unstable; urgency=low + + * Add pref's properties + * Tag: libdecarta_0.2.7-18 + + -- Minjune Kim Wed, 22 Aug 2012 15:28:46 +0900 + libdecarta (0.2.7-17) unstable; urgency=low * Make a dir before creating a link file. diff --git a/location_module/location_decarta.c b/location_module/location_decarta.c index 88f0316..fa0ba02 100755 --- a/location_module/location_decarta.c +++ b/location_module/location_decarta.c @@ -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; diff --git a/location_module/location_decarta.h b/location_module/location_decarta.h index 4b7414c..ee7bc05 100644 --- a/location_module/location_decarta.h +++ b/location_module/location_decarta.h @@ -58,6 +58,11 @@ gchar *key_lang[] = { "EN" }; +gchar *key_property[] = { + "ID", + "PASSWORD" +}; + gchar *key_country[] = { "ko", "us" -- 2.7.4