Efreet.h   Efreet.h 
skipping to change at line 62 skipping to change at line 62
# else # else
# define EAPI # define EAPI
# endif # endif
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#define EFREET_VERSION_MAJOR 1 #define EFREET_VERSION_MAJOR 1
#define EFREET_VERSION_MINOR 2 #define EFREET_VERSION_MINOR 7
typedef struct _Efreet_Version typedef struct _Efreet_Version
{ {
int major; int major;
int minor; int minor;
int micro; int micro;
int revision; int revision;
} Efreet_Version; } Efreet_Version;
EAPI extern Efreet_Version *efreet_version; EAPI extern Efreet_Version *efreet_version;
#include "efreet_base.h" #include "efreet_base.h"
#include "efreet_ini.h" #include "efreet_ini.h"
#include "efreet_icon.h" #include "efreet_icon.h"
#include "efreet_desktop.h" #include "efreet_desktop.h"
#include "efreet_menu.h" #include "efreet_menu.h"
#include "efreet_utils.h" #include "efreet_utils.h"
#include "efreet_uri.h" #include "efreet_uri.h"
/** /**
* @return Returns > 0 if the initialization was successful, 0 otherwise * @return Value > @c 0 if the initialization was successful, @c 0 otherwis e.
* @brief Initializes the Efreet system * @brief Initializes the Efreet system
*/ */
EAPI int efreet_init(void); EAPI int efreet_init(void);
/** /**
* @return Returns the number of times the init function as been called * @return The number of times the init function has been called minus the
* minus the corresponding init call. * corresponding init call.
* @brief Shuts down Efreet if a balanced number of init/shutdown calls hav e * @brief Shuts down Efreet if a balanced number of init/shutdown calls hav e
* been made * been made
*/ */
EAPI int efreet_shutdown(void); EAPI int efreet_shutdown(void);
/**
* @brief Resets language dependent variables and resets language dependent
* caches This must be called whenever the locale is changed.
* @since 1.7
*/
EAPI void efreet_lang_reset(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif
 End of changes. 4 change blocks. 
4 lines changed or deleted 11 lines changed or added


 Efreet_Mime.h   Efreet_Mime.h 
skipping to change at line 46 skipping to change at line 46
# else # else
# define EAPI # define EAPI
# endif # endif
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/** /**
* @return Returns 1 on success or 0 on failure * @return @c 1 on success or @c 0 on failure.
* @brief Initializes the efreet mime settings * @brief Initializes the efreet mime settings
*/ */
EAPI int efreet_mime_init(void); EAPI int efreet_mime_init(void);
/** /**
* @return Returns no value * @return No value.
* @brief Cleans up the efreet mime settings system * @brief Cleans up the efreet mime settings system
*/ */
EAPI int efreet_mime_shutdown(void); EAPI int efreet_mime_shutdown(void);
/** /**
* @param file The file to find the mime type * @param file The file to find the mime type
* @return Returns mime type as a string * @return Mime type as a string.
* @brief Retreive the mime type of a file * @brief Retrieve the mime type of a file
*/ */
EAPI const char *efreet_mime_type_get(const char *file); EAPI const char *efreet_mime_type_get(const char *file);
/** /**
* @param file The file to check the mime type * @param file The file to check the mime type
* @return Returns mime type as a string * @return Mime type as a string.
* @brief Retreive the mime type of a file using magic * @brief Retrieve the mime type of a file using magic
*/ */
EAPI const char *efreet_mime_magic_type_get(const char *file); EAPI const char *efreet_mime_magic_type_get(const char *file);
/** /**
* @param file The file to check the mime type * @param file The file to check the mime type
* @return Returns mime type as a string * @return Mime type as a string.
* @brief Retreive the mime type of a file using globs * @brief Retrieve the mime type of a file using globs
*/ */
EAPI const char *efreet_mime_globs_type_get(const char *file); EAPI const char *efreet_mime_globs_type_get(const char *file);
/** /**
* @param file The file to check the mime type * @param file The file to check the mime type
* @return Returns mime type as a string * @return Mime type as a string.
* @brief Retreive the special mime type of a file * @brief Retrieve the special mime type of a file
*/ */
EAPI const char *efreet_mime_special_type_get(const char *file); EAPI const char *efreet_mime_special_type_get(const char *file);
/** /**
* @param file The file to check the mime type * @param file The file to check the mime type
* @return Returns mime type as a string * @return Mime type as a string.
* @brief Retreive the fallback mime type of a file * @brief Retrieve the fallback mime type of a file.
*/ */
EAPI const char *efreet_mime_fallback_type_get(const char *file); EAPI const char *efreet_mime_fallback_type_get(const char *file);
/** /**
* @param mime The name of the mime type * @param mime The name of the mime type
* @param theme The name of the theme to search icons in * @param theme The name of the theme to search icons in
* @param size The wanted size of the icon * @param size The wanted size of the icon
* @return Returns mime type icon path as a string * @return Mime type icon path as a string.
* @brief Retreive the mime type icon for a file * @brief Retrieve the mime type icon for a file.
*/ */
EAPI const char *efreet_mime_type_icon_get(const char *mime, const char *th eme, EAPI const char *efreet_mime_type_icon_get(const char *mime, const char *th eme,
unsigned int size); unsigned int size);
/** /**
* @brief Clear mime icons mapping cache * @brief Clear mime icons mapping cache
*/ */
EAPI void efreet_mime_type_cache_clear(void); EAPI void efreet_mime_type_cache_clear(void);
/** /**
 End of changes. 8 change blocks. 
14 lines changed or deleted 14 lines changed or added


 Efreet_Trash.h   Efreet_Trash.h 
skipping to change at line 44 skipping to change at line 44
/** /**
* @file Efreet_Trash.h * @file Efreet_Trash.h
* @brief Contains the methods used to support the FDO trash specification. * @brief Contains the methods used to support the FDO trash specification.
* @addtogroup Efreet_Trash Efreet_Trash: The XDG Trash Specification * @addtogroup Efreet_Trash Efreet_Trash: The XDG Trash Specification
* Efreet_Trash.h provides all of the necessary headers and includes to * Efreet_Trash.h provides all of the necessary headers and includes to
* work with Efreet_Trash. * work with Efreet_Trash.
* @{ * @{
*/ */
/** /**
* @return Returns 1 on success or 0 on failure * @return @c 1 on success or @c 0 on failure.
* @brief Initializes the efreet trash system * @brief Initializes the efreet trash system
*/ */
EAPI int efreet_trash_init(void); EAPI int efreet_trash_init(void);
/** /**
* @return Returns no value * @return No value.
* @brief Cleans up the efreet trash system * @brief Cleans up the efreet trash system
*/ */
EAPI int efreet_trash_shutdown(void); EAPI int efreet_trash_shutdown(void);
/** /**
* @return Returns the XDG Trash local directory or NULL on errors * @return The XDG Trash local directory or @c NULL on errors.
* return value must be freed with eina_stringshare_del. * Return value must be freed with eina_stringshare_del.
* @brief Retrieves the XDG Trash local directory * @brief Retrieves the XDG Trash local directory
*/ */
EAPI const char *efreet_trash_dir_get(const char *for_file); EAPI const char *efreet_trash_dir_get(const char *for_file);
/** /**
* @param uri The local uri to move in the trash * @param uri The local uri to move in the trash
* @param force_delete If you set this to 1 than files on different filesys tems * @param force_delete If you set this to @c 1 than files on different file systems
* will be deleted permanently * will be deleted permanently
* @return Return 1 on success, 0 on failure or -1 in case the uri is not o * @return @c 1 on success, @c 0 on failure or @c -1 in case the uri is not
n the on
* same filesystem and force_delete is not set. * the same filesystem and force_delete is not set.
* @brief This function try to move the given uri to the trash. Files on * @brief This function try to move the given uri to the trash. Files on
* different filesystem can't be moved to trash. If force_delete * different filesystem can't be moved to trash. If force_delete
* is 0 than non-local files will be ignored and -1 is returned, if you set * is @c 0 than non-local files will be ignored and @c -1 is returned, if y
* force_delete to 1 non-local files will be deleted without asking. ou set
* force_delete to @c 1 non-local files will be deleted without asking.
*/ */
EAPI int efreet_trash_delete_uri(Efreet_Uri *uri, int force_delete) ; EAPI int efreet_trash_delete_uri(Efreet_Uri *uri, int force_delete) ;
/** /**
* @return Return a list of strings with filename (remember to free the lis * @return A list of strings with filename (remember to free the list
t * when you don't need anymore).
* when you don't need anymore)
* @brief List all the files and directory currently inside the trash. * @brief List all the files and directory currently inside the trash.
*/ */
EAPI Eina_List *efreet_trash_ls(void); EAPI Eina_List *efreet_trash_ls(void);
/** /**
* @return Return 1 if the trash is empty or 0 if some file are in. * @return @c 1 if the trash is empty or @c 0 if some file are in.
* @brief Check if the trash is currently empty * @brief Check if the trash is currently empty
*/ */
EAPI int efreet_trash_is_empty(void); EAPI int efreet_trash_is_empty(void);
/** /**
* @return Return 1 on success or 0 on failure * @return @c 1 on success or @c 0 on failure.
* @brief Delete all the files inside the trash. * @brief Delete all the files inside the trash.
*/ */
EAPI int efreet_trash_empty_trash(void); EAPI int efreet_trash_empty_trash(void);
/** /**
* @} * @}
*/ */
#ifdef __cplusplus #ifdef __cplusplus
} }
 End of changes. 9 change blocks. 
15 lines changed or deleted 15 lines changed or added


 efreet_base.h   efreet_base.h 
skipping to change at line 36 skipping to change at line 36
*/ */
EAPI Eina_List *efreet_data_dirs_get(void); EAPI Eina_List *efreet_data_dirs_get(void);
/** /**
* @return Returns the XDG Config Home directory * @return Returns the XDG Config Home directory
* @brief Retrieves the XDG Config Home directory * @brief Retrieves the XDG Config Home directory
*/ */
EAPI const char *efreet_config_home_get(void); EAPI const char *efreet_config_home_get(void);
/** /**
* @return Returns the XDG Desktop directory
* @brief Retrieves the XDG Desktop directory
* @since 1.3
*/
EAPI const char *efreet_desktop_dir_get(void);
/**
* @return Returns the Eina_List of preference ordered extra config directo ries * @return Returns the Eina_List of preference ordered extra config directo ries
* @brief Returns the Eina_List of preference ordered extra config * @brief Returns the Eina_List of preference ordered extra config
* directories * directories
* *
* @note The returned list is static inside Efreet. If you add/remove from the * @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 * list then the next call to efreet_config_dirs_get() will return your
* modified values. DO NOT free this list. * modified values. DO NOT free this list.
*/ */
EAPI Eina_List *efreet_config_dirs_get(void); EAPI Eina_List *efreet_config_dirs_get(void);
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/