Mercurial > audlegacy
annotate src/audacious/custom_uri.h @ 4722:1a13d88b72f3
remove legacy interface preferences from ui_preferences.c
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 13 Jul 2008 12:44:23 +0200 |
parents | 2eee464379dc |
children |
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 |
4557
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
3340
diff
changeset
|
26 #ifndef AUDACIOUS_CUSTOM_URI_H |
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
3340
diff
changeset
|
27 #define AUDACIOUS_CUSTOM_URI_H |
3340
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 |
4557
2eee464379dc
Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
Matti Hamalainen <ccr@tnsp.org>
parents:
3340
diff
changeset
|
36 #endif /* AUDACIOUS_CUSTOM_URI_H */ |