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

50 lines
1.1 KiB
C
Raw Normal View History

/* 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
/**
* @{
*/
2007-07-01 09:32:34 -07:00
int efreet_mime_init(void);
void efreet_mime_shutdown(void);
2007-07-01 09:32:34 -07:00
const char *efreet_mime_type_get(const char *file);
const char *efreet_mime_magic_type_get(const char *file);
const char *efreet_mime_globs_type_get(const char *file);
const char *efreet_mime_special_type_get(const char *file);
const char *efreet_mime_fallback_type_get(const char *file);
char *efreet_mime_type_icon_get(const char *mime, const char *theme,
const char *size);
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif