Mercurial > audlegacy
annotate src/audlegacy/mime.h @ 4862:7ec3621a9f9b
We only need the results of the stat once, do not bother with a variable at all. From code analysis, unique ID uYRsrf.
author | Tony Vroon <chainsaw@gentoo.org> |
---|---|
date | Sun, 19 Apr 2009 23:26:48 +0100 |
parents | 7bf7f83a217e |
children |
rev | line source |
---|---|
3009 | 1 /* |
2 * Audacious | |
3 * Copyright (c) 2007 William Pitcock | |
4 * | |
5 * This program is free software; you can redistribute it and/or modify | |
6 * it under the terms of the GNU General Public License as published by | |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
3009
diff
changeset
|
7 * the Free Software Foundation; under version 3 of the License. |
3009 | 8 * |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
3121
3b6d316f8b09
GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents:
3009
diff
changeset
|
15 * along with this program. If not, see <http://www.gnu.org/licenses>. |
3123
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
16 * |
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
17 * The Audacious team does not consider modular code linking to |
f1c756f39e6c
Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents:
3121
diff
changeset
|
18 * Audacious or using our public API to be a derived work. |
3009 | 19 */ |
20 | |
21 #include <glib.h> | |
22 #include <mowgli.h> | |
23 | |
4811
7bf7f83a217e
rename src/audacious src/audlegacy so that both audlegacy and audacious can coexist.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
4557
diff
changeset
|
24 #include <audlegacy/plugin.h> |
3009 | 25 |
4557
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
3123
diff
changeset
|
26 #ifndef AUDACIOUS_MIME_H |
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
3123
diff
changeset
|
27 #define AUDACIOUS_MIME_H |
3009 | 28 |
29 G_BEGIN_DECLS | |
30 | |
31 InputPlugin *mime_get_plugin(const gchar *mimetype); | |
32 void mime_set_plugin(const gchar *mimetype, InputPlugin *ip); | |
33 | |
34 G_END_DECLS | |
35 | |
4557
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
3123
diff
changeset
|
36 #endif /* AUDACIOUS_MIME_H */ |