2313
|
1 /* BMP - Cross-platform multimedia player
|
|
2 * Copyright (C) 2003-2004 BMP development team.
|
|
3 *
|
|
4 * Based on XMMS:
|
|
5 * Copyright (C) 1998-2003 XMMS development team.
|
|
6 *
|
|
7 * This program is free software; you can redistribute it and/or modify
|
|
8 * it under the terms of the GNU General Public License as published by
|
|
9 * the Free Software Foundation; under version 2 of the License.
|
|
10 *
|
|
11 * This program is distributed in the hope that it will be useful,
|
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 * GNU General Public License for more details.
|
|
15 *
|
|
16 * You should have received a copy of the GNU General Public License
|
|
17 * along with this program; if not, write to the Free Software
|
|
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
19 */
|
|
20
|
|
21 #ifndef GENERIC_H
|
|
22 #define GENERIC_H
|
|
23
|
|
24 #include <glib.h>
|
|
25
|
|
26 typedef struct _GeneralPluginData GeneralPluginData;
|
|
27
|
|
28 struct _GeneralPluginData {
|
|
29 GList *general_list;
|
|
30 GList *enabled_list;
|
|
31 };
|
|
32
|
|
33 GList *get_general_list(void);
|
|
34 GList *get_general_enabled_list(void);
|
|
35 void enable_general_plugin(gint i, gboolean enable);
|
|
36 void general_about(gint i);
|
|
37 void general_configure(gint i);
|
|
38 gboolean general_enabled(gint i);
|
|
39 gchar *general_stringify_enabled_list(void);
|
|
40 void general_enable_from_stringified_list(const gchar * list);
|
|
41
|
|
42 extern GeneralPluginData gp_data;
|
|
43
|
|
44 #endif
|