14192
|
1 #include "module.h"
|
|
2
|
|
3 MODULE = Gaim::Plugin PACKAGE = Gaim::Plugin PREFIX = gaim_plugin_
|
|
4 PROTOTYPES: ENABLE
|
|
5
|
|
6 Gaim::Plugin
|
|
7 gaim_plugin_new(native, path)
|
|
8 gboolean native
|
|
9 const char *path
|
|
10
|
|
11 Gaim::Plugin
|
|
12 gaim_plugin_probe(filename)
|
|
13 const char *filename
|
|
14
|
|
15 gboolean
|
|
16 gaim_plugin_register(plugin)
|
|
17 Gaim::Plugin plugin
|
|
18
|
|
19 gboolean
|
|
20 gaim_plugin_load(plugin)
|
|
21 Gaim::Plugin plugin
|
|
22
|
|
23 gboolean
|
|
24 gaim_plugin_unload(plugin)
|
|
25 Gaim::Plugin plugin
|
|
26
|
|
27 gboolean
|
|
28 gaim_plugin_reload(plugin)
|
|
29 Gaim::Plugin plugin
|
|
30
|
|
31 void
|
|
32 gaim_plugin_destroy(plugin)
|
|
33 Gaim::Plugin plugin
|
|
34
|
|
35 gboolean
|
|
36 gaim_plugin_is_loaded(plugin)
|
|
37 Gaim::Plugin plugin
|
|
38
|
|
39 gboolean
|
|
40 gaim_plugin_is_unloadable(plugin)
|
|
41 Gaim::Plugin plugin
|
|
42
|
|
43 const gchar *
|
|
44 gaim_plugin_get_id(plugin)
|
|
45 Gaim::Plugin plugin
|
|
46
|
|
47 const gchar *
|
|
48 gaim_plugin_get_name(plugin)
|
|
49 Gaim::Plugin plugin
|
|
50
|
|
51 const gchar *
|
|
52 gaim_plugin_get_version(plugin)
|
|
53 Gaim::Plugin plugin
|
|
54
|
|
55 const gchar *
|
|
56 gaim_plugin_get_summary(plugin)
|
|
57 Gaim::Plugin plugin
|
|
58
|
|
59 const gchar *
|
|
60 gaim_plugin_get_description(plugin)
|
|
61 Gaim::Plugin plugin
|
|
62
|
|
63 const gchar *
|
|
64 gaim_plugin_get_author(plugin)
|
|
65 Gaim::Plugin plugin
|
|
66
|
|
67 const gchar *
|
|
68 gaim_plugin_get_homepage(plugin)
|
|
69 Gaim::Plugin plugin
|
|
70
|
|
71 MODULE = Gaim::Plugin PACKAGE = Gaim::Plugin::IPC PREFIX = gaim_plugin_ipc_
|
|
72
|
|
73 void
|
|
74 gaim_plugin_ipc_unregister(plugin, command)
|
|
75 Gaim::Plugin plugin
|
|
76 const char *command
|
|
77
|
|
78 void
|
|
79 gaim_plugin_ipc_unregister_all(plugin)
|
|
80 Gaim::Plugin plugin
|
|
81
|
|
82 MODULE = Gaim::Plugin PACKAGE = Gaim::Plugins PREFIX = gaim_plugins_
|
|
83 PROTOTYPES: ENABLE
|
|
84
|
|
85 void
|
|
86 gaim_plugins_add_search_path(path)
|
|
87 const char *path
|
|
88
|
|
89 void
|
|
90 gaim_plugins_unload_all()
|
|
91
|
|
92 void
|
|
93 gaim_plugins_destroy_all()
|
|
94
|
|
95 void
|
|
96 gaim_plugins_load_saved(key)
|
|
97 const char *key
|
|
98
|
|
99 void
|
|
100 gaim_plugins_probe(ext)
|
|
101 const char *ext
|
|
102
|
|
103 gboolean
|
|
104 gaim_plugins_enabled()
|
|
105
|
|
106 Gaim::Plugin
|
|
107 gaim_plugins_find_with_name(name)
|
|
108 const char *name
|
|
109
|
|
110 Gaim::Plugin
|
|
111 gaim_plugins_find_with_filename(filename)
|
|
112 const char *filename
|
|
113
|
|
114 Gaim::Plugin
|
|
115 gaim_plugins_find_with_basename(basename)
|
|
116 const char *basename
|
|
117
|
|
118 Gaim::Plugin
|
|
119 gaim_plugins_find_with_id(id)
|
|
120 const char *id
|
|
121
|
|
122 void
|
|
123 gaim_plugins_get_loaded()
|
|
124 PREINIT:
|
|
125 GList *l;
|
|
126 PPCODE:
|
|
127 for (l = gaim_plugins_get_loaded(); l != NULL; l = l->next) {
|
|
128 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Plugin")));
|
|
129 }
|
|
130
|
|
131 void
|
|
132 gaim_plugins_get_protocols()
|
|
133 PREINIT:
|
|
134 GList *l;
|
|
135 PPCODE:
|
|
136 for (l = gaim_plugins_get_protocols(); l != NULL; l = l->next) {
|
|
137 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Plugin")));
|
|
138 }
|
|
139
|
|
140 void
|
|
141 gaim_plugins_get_all()
|
|
142 PREINIT:
|
|
143 GList *l;
|
|
144 PPCODE:
|
|
145 for (l = gaim_plugins_get_all(); l != NULL; l = l->next) {
|
|
146 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Plugin")));
|
|
147 }
|
|
148
|
|
149 void *
|
|
150 gaim_plugins_get_handle()
|
|
151
|
|
152 void
|
|
153 gaim_plugins_init()
|
|
154
|
|
155 void
|
|
156 gaim_plugins_uninit()
|