diff options
Diffstat (limited to 'src/lib/eina/eina_internal.h')
-rw-r--r-- | src/lib/eina/eina_internal.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/eina/eina_internal.h b/src/lib/eina/eina_internal.h index b5bdbad414..79ec98a7bd 100644 --- a/src/lib/eina/eina_internal.h +++ b/src/lib/eina/eina_internal.h | |||
@@ -41,6 +41,24 @@ | |||
41 | # endif | 41 | # endif |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | typedef struct _Eina_Vpath_Interface_User Eina_Vpath_Interface_User; | ||
45 | |||
46 | struct _Eina_Vpath_Interface_User | ||
47 | { | ||
48 | const char *desktop; | ||
49 | const char *documents; | ||
50 | const char *downloads; | ||
51 | const char *music; | ||
52 | const char *pictures; | ||
53 | const char *pub; | ||
54 | const char *templates; | ||
55 | const char *videos; | ||
56 | const char *data; | ||
57 | const char *config; | ||
58 | const char *cache; | ||
59 | const char *run; | ||
60 | }; | ||
61 | |||
44 | /** | 62 | /** |
45 | * @brief Cancels all pending promise/futures. | 63 | * @brief Cancels all pending promise/futures. |
46 | * | 64 | * |
@@ -50,6 +68,15 @@ | |||
50 | */ | 68 | */ |
51 | EAPI void __eina_promise_cancel_all(void); | 69 | EAPI void __eina_promise_cancel_all(void); |
52 | 70 | ||
71 | /** | ||
72 | * Create the desktop specific vpaths | ||
73 | * | ||
74 | * The virtual paths will be named usr.<field-name-of-struct> | ||
75 | * | ||
76 | * If you do NOT call this api the virtual paths for usr.* will be unset. | ||
77 | */ | ||
78 | EAPI void eina_vpath_interface_user_set(Eina_Vpath_Interface_User *user); | ||
79 | |||
53 | #undef EAPI | 80 | #undef EAPI |
54 | #define EAPI | 81 | #define EAPI |
55 | 82 | ||