Deprecated api removed.
authorRadoslaw Czerski <r.czerski@samsung.com>
Mon, 14 Mar 2016 13:19:24 +0000 (14:19 +0100)
committerRadoslaw Czerski <r.czerski@samsung.com>
Mon, 14 Mar 2016 13:19:24 +0000 (14:19 +0100)
Change-Id: I318597d5243de6b2fdf88c5155390b001a3e36fe
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
inc/util.h
src/util.c

index 2a8ced2..e08c586 100644 (file)
@@ -83,12 +83,10 @@ enum app_subdir {
        APP_DIR_DATA,
        APP_DIR_CACHE,
        APP_DIR_RESOURCE,
-       APP_DIR_SHARED_DATA,
        APP_DIR_SHARED_RESOURCE,
        APP_DIR_SHARED_TRUSTED,
        APP_DIR_EXTERNAL_DATA,
        APP_DIR_EXTERNAL_CACHE,
-       APP_DIR_EXTERNAL_SHARED_DATA,
 };
 
 /**
@@ -107,12 +105,10 @@ const char *util_get_file_path(enum app_subdir dir, const char *relative);
 #define util_get_data_file_path(x) util_get_file_path(APP_DIR_DATA, (x))
 #define util_get_cache_file_path(x) util_get_file_path(APP_DIR_CACHE, (x))
 #define util_get_res_file_path(x) util_get_file_path(APP_DIR_RESOURCE, (x))
-#define util_get_shared_data_file_path(x) util_get_file_path(APP_DIR_SHARED_DATA, (x))
 #define util_get_shared_res_file_path(x) util_get_file_path(APP_DIR_SHARED_RESOURCE, (x))
 #define util_get_trusted_file_path(x) util_get_file_path(APP_DIR_SHARED_TRUSTED, (x))
 #define util_get_external_data_file_path(x) util_get_file_path(APP_DIR_EXTERNAL_DATA, (x))
 #define util_get_external_cache_file_path(x) util_get_file_path(APP_DIR_EXTERNAL_CACHE, (x))
-#define util_get_external_shared_data_file_path(x) util_get_file_path(APP_DIR_EXTERNAL_SHARED_DATA, (x))
 
 /**
  * @brief Allows to set multiple callbacks using wifi_set_connection_state_changed_cb API
index b1653d7..6448c84 100644 (file)
@@ -605,9 +605,6 @@ const char *util_get_file_path(enum app_subdir dir, const char *relative)
        case APP_DIR_RESOURCE:
                prefix = app_get_resource_path();
                break;
-       case APP_DIR_SHARED_DATA:
-               prefix = app_get_shared_data_path();
-               break;
        case APP_DIR_SHARED_RESOURCE:
                prefix = app_get_shared_resource_path();
                break;
@@ -620,9 +617,6 @@ const char *util_get_file_path(enum app_subdir dir, const char *relative)
        case APP_DIR_EXTERNAL_CACHE:
                prefix = app_get_external_cache_path();
                break;
-       case APP_DIR_EXTERNAL_SHARED_DATA:
-               prefix = app_get_external_shared_data_path();
-               break;
        default:
                LOGE("Not handled directory type.");
                return NULL;