2007-02-03 05:05:30 -08:00
|
|
|
#ifndef EFREET_BASE_H
|
|
|
|
#define EFREET_BASE_H
|
|
|
|
/**
|
|
|
|
* @file efreet_base.h
|
2007-09-06 09:15:10 -07:00
|
|
|
* @brief Contains the methods used to support the FDO base directory
|
2007-02-03 05:05:30 -08:00
|
|
|
* specification.
|
2007-09-06 09:15:10 -07:00
|
|
|
* @addtogroup Efreet_Base Efreet_Base: The XDG Base Directory Specification
|
2007-02-03 05:05:30 -08:00
|
|
|
* functions
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2011-04-08 04:01:08 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Returns the XDG Data Home directory
|
|
|
|
* @brief Retrieves the XDG Data Home directory
|
|
|
|
*/
|
2007-11-04 01:32:35 -08:00
|
|
|
EAPI const char *efreet_data_home_get(void);
|
2011-04-08 04:01:08 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Returns the Eina_List of preference ordered extra data directories
|
2011-10-17 13:29:25 -07:00
|
|
|
* @brief Returns the Eina_List of preference ordered extra data directories
|
2011-04-08 04:01:08 -07:00
|
|
|
*
|
|
|
|
* @note The returned list is static inside Efreet. If you add/remove from the
|
|
|
|
* list then the next call to efreet_data_dirs_get() will return your
|
|
|
|
* modified values. DO NOT free this list.
|
|
|
|
*/
|
* estickies,
* etk,
* PROTO/exalt,
* E-MODULES-EXTRA/diskio,
* E-MODULES-EXTRA/drawer,
* E-MODULES-EXTRA/penguins,
* E-MODULES-EXTRA/slideshow,
* E-MODULES-EXTRA/mail,
* E-MODULES-EXTRA/forecasts,
* E-MODULES-EXTRA/iiirk,
* E-MODULES-EXTRA/places,
* e,
* ewl,
* ecore,
* elitaire,
* entrance,
* e_dbus,
* efreet: Here we go, move from Ecore_List to Eina_List.
NOTE: This patch is huge, I did test it a lot, and I hope nothing is
broken. But if you think something change after this commit, please
contact me ASAP.
SVN revision: 39200
2009-02-25 03:03:47 -08:00
|
|
|
EAPI Eina_List *efreet_data_dirs_get(void);
|
2007-02-03 05:05:30 -08:00
|
|
|
|
2011-04-08 04:01:08 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Returns the XDG Config Home directory
|
|
|
|
* @brief Retrieves the XDG Config Home directory
|
|
|
|
*/
|
2007-11-04 01:32:35 -08:00
|
|
|
EAPI const char *efreet_config_home_get(void);
|
2011-04-08 04:01:08 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Returns the Eina_List of preference ordered extra config directories
|
2011-10-17 13:29:25 -07:00
|
|
|
* @brief Returns the Eina_List of preference ordered extra config
|
2011-04-08 04:01:08 -07:00
|
|
|
* directories
|
|
|
|
*
|
|
|
|
* @note The returned list is static inside Efreet. If you add/remove from the
|
|
|
|
* list then the next call to efreet_config_dirs_get() will return your
|
|
|
|
* modified values. DO NOT free this list.
|
|
|
|
*/
|
* estickies,
* etk,
* PROTO/exalt,
* E-MODULES-EXTRA/diskio,
* E-MODULES-EXTRA/drawer,
* E-MODULES-EXTRA/penguins,
* E-MODULES-EXTRA/slideshow,
* E-MODULES-EXTRA/mail,
* E-MODULES-EXTRA/forecasts,
* E-MODULES-EXTRA/iiirk,
* E-MODULES-EXTRA/places,
* e,
* ewl,
* ecore,
* elitaire,
* entrance,
* e_dbus,
* efreet: Here we go, move from Ecore_List to Eina_List.
NOTE: This patch is huge, I did test it a lot, and I hope nothing is
broken. But if you think something change after this commit, please
contact me ASAP.
SVN revision: 39200
2009-02-25 03:03:47 -08:00
|
|
|
EAPI Eina_List *efreet_config_dirs_get(void);
|
2007-02-03 05:05:30 -08:00
|
|
|
|
2011-04-08 04:01:08 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Returns the XDG Cache Home directory
|
|
|
|
* @brief Retrieves the XDG Cache Home directory
|
|
|
|
*/
|
2007-11-04 01:32:35 -08:00
|
|
|
EAPI const char *efreet_cache_home_get(void);
|
2011-04-08 04:01:08 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Returns the current hostname
|
|
|
|
* @brief Returns the current hostname or empty string if not found
|
|
|
|
*/
|
2010-12-04 08:02:20 -08:00
|
|
|
EAPI const char *efreet_hostname_get(void);
|
2007-02-03 05:05:30 -08:00
|
|
|
|
2010-11-22 06:15:59 -08:00
|
|
|
/**
|
|
|
|
* Efreet_Event_Cache_Update
|
|
|
|
*/
|
|
|
|
typedef struct _Efreet_Event_Cache_Update Efreet_Event_Cache_Update;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Efreet_Event_Cache_Update
|
|
|
|
* @brief event struct sent with EFREET_EVENT_*_CACHE_UPDATE
|
|
|
|
*/
|
|
|
|
struct _Efreet_Event_Cache_Update
|
|
|
|
{
|
2011-08-18 00:34:02 -07:00
|
|
|
int dummy;
|
2010-11-22 06:15:59 -08:00
|
|
|
};
|
|
|
|
|
2007-02-03 05:05:30 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endif
|