efl/legacy/efreet/src/lib/Efreet_Mime.h

50 lines
1.1 KiB
C

/* vim: set sw=4 ts=4 sts=4 et: */
#ifndef EFREET_MIME_H
#define EFREET_MIME_H
/**
* @file Efreet_Mime.h
* @brief The file that must be included by any project wishing to use
* Efreet_Mime. Efreet_Mime.h provides all of the necessary headers and
* includes to work with Efreet_Mime.
*/
/**
* @mainpage The Efreet Mime Library
*
* @section intro Introduction
*
* Efreet Mime is a library designed to help apps work with the
* Freedesktop.org Shared Mime Info standard.
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* @{
*/
EAPI int efreet_mime_init(void);
EAPI void efreet_mime_shutdown(void);
EAPI const char *efreet_mime_type_get(const char *file);
EAPI const char *efreet_mime_magic_type_get(const char *file);
EAPI const char *efreet_mime_globs_type_get(const char *file);
EAPI const char *efreet_mime_special_type_get(const char *file);
EAPI const char *efreet_mime_fallback_type_get(const char *file);
EAPI char *efreet_mime_type_icon_get(const char *mime, const char *theme,
const char *size);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif