annotate src/audacious/mime.h @ 3009:9976e065e2f5 trunk

Mimetype system.
author William Pitcock <nenolod@atheme-project.org>
date Mon, 09 Jul 2007 03:18:00 -0500
parents
children 3b6d316f8b09
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3009
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
1 /*
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
2 * Audacious
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
3 * Copyright (c) 2007 William Pitcock
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
4 *
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
7 * the Free Software Foundation; under version 2 of the License.
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
8 *
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
9 * This program is distributed in the hope that it will be useful,
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
12 * GNU General Public License for more details.
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
13 *
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
15 * along with this program; if not, write to the Free Software
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
17 */
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
18
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
19 #include <glib.h>
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
20 #include <mowgli.h>
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
21
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
22 #include <audacious/plugin.h>
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
23
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
24 #ifndef __AUDACIOUS_MIME_H__
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
25 #define __AUDACIOUS_MIME_H__
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
26
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
27 G_BEGIN_DECLS
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
28
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
29 InputPlugin *mime_get_plugin(const gchar *mimetype);
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
30 void mime_set_plugin(const gchar *mimetype, InputPlugin *ip);
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
31
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
32 G_END_DECLS
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
33
9976e065e2f5 Mimetype system.
William Pitcock <nenolod@atheme-project.org>
parents:
diff changeset
34 #endif