Add pref's properties
authorMinjune Kim <sena06.kim@samsung.com>
Wed, 22 Aug 2012 06:38:56 +0000 (15:38 +0900)
committerMinjune Kim <sena06.kim@samsung.com>
Wed, 22 Aug 2012 06:38:56 +0000 (15:38 +0900)
debian/changelog
location_module/location_decarta.c
location_module/location_decarta.h

index ad727a4..248ffba 100644 (file)
@@ -1,3 +1,10 @@
+libdecarta (0.2.7-18) unstable; urgency=low
+
+  * Add pref's properties
+  * Tag: libdecarta_0.2.7-18
+
+ -- Minjune Kim <sena06.kim@samsung.com>  Wed, 22 Aug 2012 15:28:46 +0900
+
 libdecarta (0.2.7-17) unstable; urgency=low
 
   * Make a dir before creating a link file.
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;
index 4b7414c..ee7bc05 100644 (file)
@@ -58,6 +58,11 @@ gchar *key_lang[] = {
        "EN"
 };
 
+gchar *key_property[] = {
+       "ID",
+       "PASSWORD"
+};
+
 gchar *key_country[] = {
        "ko",
        "us"