Mercurial > audlegacy
annotate src/audacious/custom_uri.h @ 3421:9d6f17ceebb3 trunk
ui_skinselector: don't call gtk_main_iteration() here, as it's unsafe to do so from within the main loop.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 02 Sep 2007 23:44:59 -0500 |
parents | a0c93cb34598 |
children | 2eee464379dc |
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 |