forked from enlightenment/efl
evil: remove tmp and home dir get
Summary: eina implement them for all OSes Test Plan: compilation Reviewers: raster, cedric, zmike Reviewed By: raster Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8621
This commit is contained in:
parent
d31adef9fe
commit
6559f64d28
|
@ -168,19 +168,6 @@ _evil_last_error_display(const char *fct)
|
||||||
fprintf(stderr, "[Evil] [%s] ERROR: %s\n", fct, evil_last_error_get());
|
fprintf(stderr, "[Evil] [%s] ERROR: %s\n", fct, evil_last_error_get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const char *
|
|
||||||
evil_tmpdir_get(void)
|
|
||||||
{
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
const char *
|
|
||||||
evil_homedir_get(void)
|
|
||||||
{
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
evil_path_is_absolute(const char *path)
|
evil_path_is_absolute(const char *path)
|
||||||
{
|
{
|
||||||
|
|
|
@ -63,59 +63,6 @@ EAPI const char *evil_format_message(long err);
|
||||||
|
|
||||||
EAPI const char *evil_last_error_get(void);
|
EAPI const char *evil_last_error_get(void);
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Return a dir to store temporary files.
|
|
||||||
*
|
|
||||||
* @return The directory to store temporary files.
|
|
||||||
*
|
|
||||||
* Return a directory to store temporary files. The function gets
|
|
||||||
* the value of the following environment variables, and in that order:
|
|
||||||
* - TMP
|
|
||||||
* - TEMP
|
|
||||||
* - USERPROFILE
|
|
||||||
* - WINDIR
|
|
||||||
* and returns its value if it exists. If none exists, the function
|
|
||||||
* returns "C:\".
|
|
||||||
*
|
|
||||||
* Conformity: Non applicable.
|
|
||||||
*
|
|
||||||
* Supported OS: Windows 95, Windows 98, Windows Me, Windows NT, Windows 2000,
|
|
||||||
* Windows XP.
|
|
||||||
|
|
||||||
* @deprecated
|
|
||||||
* This function is deprecated and returns @c NULL.
|
|
||||||
* Use eina_environment_tmp_get() instead.
|
|
||||||
*
|
|
||||||
* @ingroup Evil
|
|
||||||
*/
|
|
||||||
EAPI const char *evil_tmpdir_get(void);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Return a dir to store personal files.
|
|
||||||
*
|
|
||||||
* @return The directory to store personal files.
|
|
||||||
*
|
|
||||||
* Return a directory to store personal files. The function gets
|
|
||||||
* the value of the following environment variables, and in that order:
|
|
||||||
* - HOME
|
|
||||||
* - USERPROFILE
|
|
||||||
* - WINDIR
|
|
||||||
* and returns its value if it exists. If none exists, the function
|
|
||||||
* returns "C:\".
|
|
||||||
*
|
|
||||||
* Conformity: Non applicable.
|
|
||||||
*
|
|
||||||
* Supported OS: Windows 95, Windows 98, Windows Me, Windows NT, Windows 2000,
|
|
||||||
* Windows XP.
|
|
||||||
|
|
||||||
* @deprecated
|
|
||||||
* This function is deprecated and returns @c NULL.
|
|
||||||
* Use eina_environment_home_get() instead.
|
|
||||||
*
|
|
||||||
* @ingroup Evil
|
|
||||||
*/
|
|
||||||
EAPI const char *evil_homedir_get(void);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief check if the given path is absolute.
|
* @brief check if the given path is absolute.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue