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:
Vincent Torri 2019-04-16 17:59:10 +01:00 committed by Carsten Haitzler (Rasterman)
parent d31adef9fe
commit 6559f64d28
2 changed files with 0 additions and 66 deletions

View File

@ -168,19 +168,6 @@ _evil_last_error_display(const char *fct)
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
evil_path_is_absolute(const char *path)
{

View File

@ -63,59 +63,6 @@ EAPI const char *evil_format_message(long err);
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.
*