summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 @@
41# endif 41# endif
42#endif 42#endif
43 43
44#include "eina_prefix.h"
45
44typedef struct _Eina_Vpath_Interface_User Eina_Vpath_Interface_User; 46typedef struct _Eina_Vpath_Interface_User Eina_Vpath_Interface_User;
45 47
46struct _Eina_Vpath_Interface_User 48struct _Eina_Vpath_Interface_User
@@ -69,6 +71,23 @@ struct _Eina_Vpath_Interface_User
69EAPI void __eina_promise_cancel_all(void); 71EAPI void __eina_promise_cancel_all(void);
70 72
71/** 73/**
74 * Make the app specific paths accessable as virtual path
75 *
76 * This will create :
77 * - app.dir
78 * - app.bin
79 * - app.lib
80 * - app.data
81 * - app.locale
82 * - app.config
83 * - app.cache
84 * - app.local
85 *
86 * If you do NOT call this api the virtual paths for app.* will be unset
87 */
88EAPI void eina_vpath_interface_app_set(const char *app_name, Eina_Prefix *p);
89
90/**
72 * Create the desktop specific vpaths 91 * Create the desktop specific vpaths
73 * 92 *
74 * The virtual paths will be named usr.<field-name-of-struct> 93 * 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 @@
20 */ 20 */
21typedef const char* Eina_Vpath; 21typedef const char* Eina_Vpath;
22 22
23/**
24 * Make the app specific paths accessable as virtual path
25 *
26 * This will create :
27 * - app.dir
28 * - app.bin
29 * - app.lib
30 * - app.data
31 * - app.locale
32 * - app.config
33 * - app.cache
34 * - app.local
35 *
36 * If you do NOT call this api the virtual paths for app.* will be unset
37 */
38EAPI void eina_vpath_interface_app_set(const char *app_name, Eina_Prefix *p);
39
40/* 23/*
41 * Translate a virtual path into a normal path. 24 * Translate a virtual path into a normal path.
42 * 25 *
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 @@
17#include <Emotion.h> 17#include <Emotion.h>
18 18
19#include <Elementary.h> 19#include <Elementary.h>
20#include "elm_priv.h" 20
21#include "eina_internal.h"
21#include "ecore_internal.h" 22#include "ecore_internal.h"
23
24#include "elm_priv.h"
22#include "elm_interface_scrollable.h" 25#include "elm_interface_scrollable.h"
23 26
24//we need those for legacy compatible code 27//we need those for legacy compatible code