annotate src/audacious/ui_urlopener.h @ 3542:f8880f2e0501 trunk

Fix crash on calling plugin->configure() in preferences when plugin->configure==NULL
author Sascha Hlusiak <contact@saschahlusiak.de>
date Tue, 18 Sep 2007 16:26:09 +0200
parents f1c756f39e6c
children 2eee464379dc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2422
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
1 /* Audacious - Cross-platform multimedia player
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
2 * Copyright (C) 2005-2007 Audacious development team
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
3 *
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
4 * Based on BMP:
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
5 * Copyright (C) 2003-2004 BMP development team
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
6 *
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
7 * Based on XMMS:
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
8 * Copyright (C) 1998-2003 XMMS development team
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
9 *
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
10 * This program is free software; you can redistribute it and/or modify
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
11 * it under the terms of the GNU General Public License as published by
3121
3b6d316f8b09 GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents: 2422
diff changeset
12 * the Free Software Foundation; under version 3 of the License.
2422
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
13 *
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful,
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
17 * GNU General Public License for more details.
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
18 *
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
3121
3b6d316f8b09 GPL3 relicensing.
William Pitcock <nenolod@atheme-project.org>
parents: 2422
diff changeset
20 * 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
21 *
f1c756f39e6c Invoke "Plugins are not derived work" clause provided by GPL3.
William Pitcock <nenolod@atheme-project.org>
parents: 3121
diff changeset
22 * 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
23 * Audacious or using our public API to be a derived work.
2422
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
24 */
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
25
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
26 #ifndef __AUDACIOUS_UI_URLOPENER_H__
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
27 #define __AUDACIOUS_UI_URLOPENER_H__
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
28
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
29 #ifdef _AUDACIOUS_CORE
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
30 # ifdef HAVE_CONFIG_H
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
31 # include "config.h"
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
32 # endif
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
33 #endif
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
34
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
35 #include <glib.h>
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
36 #include <gtk/gtk.h>
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
37
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
38 G_BEGIN_DECLS
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
39
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
40 GtkWidget *util_add_url_dialog_new(const gchar * caption, GCallback ok_func,
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
41 GCallback enqueue_func);
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
42
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
43 G_END_DECLS
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
44
b31111934cd3 [svn] - break out the URL opener UI code
nenolod
parents:
diff changeset
45 #endif