From: Cedric Bail Date: Thu, 22 Feb 2018 23:26:28 +0000 (-0800) Subject: eina: make eina_vpath_interface_app_set an internal function. X-Git-Tag: upstream/1.21.0~1858 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b60fc1aec1f30581af7eb28ad56a0827425cd6c;p=platform%2Fupstream%2Fefl.git eina: make eina_vpath_interface_app_set an internal function. I am wondering if this one shouldn't even be a private one and directly used by eina_prefix. --- diff --git a/src/lib/eina/eina_internal.h b/src/lib/eina/eina_internal.h index 79ec98a..0c5adbb 100644 --- a/src/lib/eina/eina_internal.h +++ b/src/lib/eina/eina_internal.h @@ -41,6 +41,8 @@ # endif #endif +#include "eina_prefix.h" + typedef struct _Eina_Vpath_Interface_User Eina_Vpath_Interface_User; struct _Eina_Vpath_Interface_User @@ -69,6 +71,23 @@ struct _Eina_Vpath_Interface_User EAPI void __eina_promise_cancel_all(void); /** + * Make the app specific paths accessable as virtual path + * + * This will create : + * - app.dir + * - app.bin + * - app.lib + * - app.data + * - app.locale + * - app.config + * - app.cache + * - app.local + * + * If you do NOT call this api the virtual paths for app.* will be unset + */ +EAPI void eina_vpath_interface_app_set(const char *app_name, Eina_Prefix *p); + +/** * Create the desktop specific vpaths * * The virtual paths will be named usr. diff --git a/src/lib/eina/eina_vpath.h b/src/lib/eina/eina_vpath.h index c279018..7927b4a 100644 --- a/src/lib/eina/eina_vpath.h +++ b/src/lib/eina/eina_vpath.h @@ -20,23 +20,6 @@ */ typedef const char* Eina_Vpath; -/** - * Make the app specific paths accessable as virtual path - * - * This will create : - * - app.dir - * - app.bin - * - app.lib - * - app.data - * - app.locale - * - app.config - * - app.cache - * - app.local - * - * If you do NOT call this api the virtual paths for app.* will be unset - */ -EAPI void eina_vpath_interface_app_set(const char *app_name, Eina_Prefix *p); - /* * Translate a virtual path into a normal path. * diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c index b0fe82c..3f6a76e 100644 --- a/src/lib/elementary/elm_main.c +++ b/src/lib/elementary/elm_main.c @@ -17,8 +17,11 @@ #include #include -#include "elm_priv.h" + +#include "eina_internal.h" #include "ecore_internal.h" + +#include "elm_priv.h" #include "elm_interface_scrollable.h" //we need those for legacy compatible code