Audacious
$Id:Doxyfile42802007-03-2104:39:00Znenolod$
Main Page
Related Pages
Classes
Files
File List
File Members
src
audacious
plugins-api.h
Go to the documentation of this file.
1
/*
2
* plugins-api.h
3
* Copyright 2010 John Lindgren
4
*
5
* This file is part of Audacious.
6
*
7
* Audacious is free software: you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License as published by the Free Software
9
* Foundation, version 2 or version 3 of the License.
10
*
11
* Audacious is distributed in the hope that it will be useful, but WITHOUT ANY
12
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13
* A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along with
16
* Audacious. If not, see <http://www.gnu.org/licenses/>.
17
*
18
* The Audacious team does not consider modular code linking to Audacious or
19
* using our public API to be a derived work.
20
*/
21
22
/* Do not include this file directly; use misc.h instead. */
23
24
/* CAUTION: These functions are not thread safe. */
25
26
/* plugin-init.c */
27
AUD_FUNC1
(
PluginHandle
*,
plugin_get_current
,
int
,
type
)
28
AUD_FUNC2
(
bool_t
,
plugin_enable
,
PluginHandle
*,
plugin
, bool_t, enable)
29
AUD_FUNC1
(PluginHandle *,
plugin_by_widget
,
void
/* GtkWidget */
*, widget)
30
AUD_FUNC4
(
int
,
plugin_send_message
, PluginHandle *, plugin,
31
const
char
*, code, const
void
*,
data
,
int
, size)
32
33
/* plugin-registry.c */
34
AUD_FUNC1
(
int
,
plugin_get_type
, PluginHandle *, plugin)
35
AUD_FUNC1
(const
char
*,
plugin_get_filename
, PluginHandle *, plugin)
36
AUD_FUNC1
(PluginHandle *,
plugin_lookup
, const
char
*,
filename
)
37
AUD_FUNC1
(PluginHandle *,
plugin_lookup_basename
, const
char
*, basename)
38
39
AUD_FUNC1
(const
void
*,
plugin_get_header
, PluginHandle *, plugin)
40
AUD_FUNC1
(PluginHandle *,
plugin_by_header
, const
void
*, header)
41
42
AUD_FUNC2
(
int
,
plugin_compare
, PluginHandle *,
a
, PluginHandle *,
b
)
43
AUD_VFUNC3
(
plugin_for_each
,
int
,
type
,
PluginForEachFunc
,
func
,
void
*,
44
data)
45
46
AUD_FUNC1
(bool_t,
plugin_get_enabled
, PluginHandle *, plugin)
47
AUD_VFUNC3
(
plugin_for_enabled
,
int
, type, PluginForEachFunc, func,
48
void
*, data)
49
50
AUD_FUNC1
(const
char
*,
plugin_get_name
, PluginHandle *, plugin)
51
AUD_FUNC1
(bool_t,
plugin_has_about
, PluginHandle *, plugin)
52
AUD_FUNC1
(bool_t,
plugin_has_configure
, PluginHandle *, plugin)
53
54
AUD_VFUNC3
(
plugin_add_watch
, PluginHandle *, plugin, PluginForEachFunc,
55
func,
void
*, data)
56
AUD_VFUNC3
(
plugin_remove_watch
, PluginHandle *, plugin, PluginForEachFunc,
57
func,
void
*, data)
Generated by
1.8.1.1