annotate src/audacious/custom_uri.h @ 4544:084dbc8d23da

removed variable "has_x11_connection" from main.c, needed to hookify some functions therefore
author mf0102 <0102@gmx.at>
date Mon, 12 May 2008 23:01:06 +0200
parents a0c93cb34598
children 2eee464379dc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3340
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
1 /*
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
2 * Audacious
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
3 * Copyright (c) 2007 William Pitcock
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
4 *
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
7 * the Free Software Foundation; under version 3 of the License.
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
8 *
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
9 * This program is distributed in the hope that it will be useful,
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
12 * GNU General Public License for more details.
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
13 *
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
15 * along with this program. If not, see <http://www.gnu.org/licenses>.
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
16 *
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
17 * The Audacious team does not consider modular code linking to
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
18 * Audacious or using our public API to be a derived work.
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
19 */
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
20
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
21 #include <glib.h>
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
22 #include <mowgli.h>
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
23
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
24 #include <audacious/plugin.h>
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
25
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
26 #ifndef __AUDACIOUS_CUSTOM_URI_H__
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
27 #define __AUDACIOUS_CUSTOM_URI_H__
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
28
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
29 G_BEGIN_DECLS
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
30
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
31 InputPlugin *uri_get_plugin(const gchar *filename);
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
32 void uri_set_plugin(const gchar *uri, InputPlugin *ip);
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
33
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
34 G_END_DECLS
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
35
a0c93cb34598 Add functions for custom uri support of input plugins
Christian Birchinger <joker@netswarm.net>
parents:
diff changeset
36 #endif