summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/Efreet_Mime.h
diff options
context:
space:
mode:
authorNicholas Hughart <mekius@mekius.net>2007-07-01 05:10:14 +0000
committerNicholas Hughart <mekius@mekius.net>2007-07-01 05:10:14 +0000
commitfe2842a58fbb6f0cb09175af7dafee550467af49 (patch)
tree25cf39a8af0cd5f4c2f23b3bdf2abaec006289ff /legacy/efreet/src/lib/Efreet_Mime.h
parent0c4af24a337de7ac6d72b4686ccb24736cfe0ef7 (diff)
Everything is working except the file monitors to look for new/modified files. This is going up in hopes that someone can find the bug in my code pertaining to this as I haven't been able to.
If you find the bug and fix it, don't hesitate to commit the code :) Have Fun\! SVN revision: 30515
Diffstat (limited to 'legacy/efreet/src/lib/Efreet_Mime.h')
-rw-r--r--legacy/efreet/src/lib/Efreet_Mime.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/legacy/efreet/src/lib/Efreet_Mime.h b/legacy/efreet/src/lib/Efreet_Mime.h
new file mode 100644
index 0000000..af4c8cd
--- /dev/null
+++ b/legacy/efreet/src/lib/Efreet_Mime.h
@@ -0,0 +1,48 @@
1/* vim: set sw=4 ts=4 sts=4 et: */
2#ifndef EFREET_MIME_H
3#define EFREET_MIME_H
4
5/**
6 * @file Efreet_Mime.h
7 * @brief The file that must be included by any project wishing to use
8 * Efreet_Mime. Efreet_Mime.h provides all of the necessary headers and
9 * includes to work with Efreet_Mime.
10 */
11
12/**
13 * @mainpage The Efreet Mime Library
14 *
15 * @section intro Introduction
16 *
17 * Efreet Mime is a library designed to help apps work with the
18 * Freedesktop.org Shared Mime Info standard.
19 */
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/**
26 * @{
27 */
28
29typedef enum Efreet_Mime_Method
30{
31 EFREET_MIME_FLAG_GLOB=1,
32 EFREET_MIME_FLAG_MAGIC=2,
33 EFREET_MIME_FLAG_TYPES=4
34} Efreet_Mime_Method;
35
36int efreet_mime_init(void);
37void efreet_mime_shutdown(void);
38const char *efreet_mime_get(const char *file, int flags);
39
40/**
41 * @}
42 */
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif