Mercurial > audlegacy
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/audacious/mime.h Mon Jul 09 03:18:00 2007 -0500 @@ -0,0 +1,34 @@ +/* + * Audacious + * Copyright (c) 2007 William Pitcock + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; under version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#include <glib.h> +#include <mowgli.h> + +#include <audacious/plugin.h> + +#ifndef __AUDACIOUS_MIME_H__ +#define __AUDACIOUS_MIME_H__ + +G_BEGIN_DECLS + +InputPlugin *mime_get_plugin(const gchar *mimetype); +void mime_set_plugin(const gchar *mimetype, InputPlugin *ip); + +G_END_DECLS + +#endif