2007-06-30 22:10:14 -07:00
|
|
|
/* 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
|
|
|
|
2007-06-30 22:10:14 -07:00
|
|
|
int efreet_mime_init(void);
|
|
|
|
void efreet_mime_shutdown(void);
|
2007-07-01 09:32:34 -07:00
|
|
|
|
2007-07-02 21:47:29 -07:00
|
|
|
const char *efreet_mime_type_get(const char *file);
|
2007-07-05 20:01:21 -07:00
|
|
|
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);
|
2007-07-17 12:21:20 -07:00
|
|
|
|
2007-07-26 04:30:10 -07:00
|
|
|
char *efreet_mime_type_icon_get(const char *mime, const char *theme,
|
2007-07-17 12:21:20 -07:00
|
|
|
const char *size);
|
2007-06-30 22:10:14 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|