summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-02-22 15:26:28 -0800
committerCedric Bail <cedric@osg.samsung.com>2018-02-22 15:26:28 -0800
commitd57b9a7d14afdc71f4da8265f7dac49deaf6a8c5 (patch)
tree334af0d0bd8987ad3b3fe35a7d17eb71778451ce /src
parentb575c416769bcab0eabaf7a68cc8129f81199606 (diff)
downloadefl-d57b9a7d14afdc71f4da8265f7dac49deaf6a8c5.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/eina/eina_internal.h19
-rw-r--r--src/lib/eina/eina_vpath.h17
-rw-r--r--src/lib/elementary/elm_main.c5
3 files changed, 23 insertions, 18 deletions
diff --git a/src/lib/eina/eina_internal.h b/src/lib/eina/eina_internal.h
index 79ec98a7bd..0c5adbb1cd 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.<field-name-of-struct>
diff --git a/src/lib/eina/eina_vpath.h b/src/lib/eina/eina_vpath.h
index c279018cf1..7927b4ad0b 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 007e886c7f..646b2ee474 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -17,8 +17,11 @@
#include <Emotion.h>
#include <Elementary.h>
-#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