Mercurial > pidgin.yaz
annotate plugins/signals-test.c @ 7503:798e5dbb072f
[gaim-migrate @ 8116]
segfaults are bad. thanks Gray Watson (graywatson)
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 13 Nov 2003 17:18:39 +0000 |
parents | d77e99c55b40 |
children | 4749299f199a |
rev | line source |
---|---|
6485 | 1 /* |
2 * Signals test plugin. | |
3 * | |
4 * Copyright (C) 2003 Christian Hammond. | |
5 * | |
6 * This program is free software; you can redistribute it and/or | |
7 * modify it under the terms of the GNU General Public License as | |
8 * published by the Free Software Foundation; either version 2 of the | |
9 * License, or (at your option) any later version. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, but | |
12 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 * 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., 59 Temple Place - Suite 330, Boston, MA | |
19 * 02111-1307, USA. | |
20 */ | |
21 #define SIGNAL_TEST_PLUGIN_ID "core-signals-test" | |
22 | |
23 #include <stdio.h> | |
24 | |
25 #include "internal.h" | |
26 #include "connection.h" | |
27 #include "conversation.h" | |
28 #include "core.h" | |
29 #include "debug.h" | |
30 #include "signals.h" | |
31 | |
32 /************************************************************************** | |
33 * Account subsystem signal callbacks | |
34 **************************************************************************/ | |
35 static void | |
36 account_connecting_cb(GaimAccount *account, void *data) | |
37 { | |
38 gaim_debug(GAIM_DEBUG_MISC, "signals test", "account-connecting (%s)\n", | |
39 gaim_account_get_username(account)); | |
40 } | |
41 | |
42 static void | |
43 account_away_cb(GaimAccount *account, const char *state, | |
44 const char *message, void *data) | |
45 { | |
46 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
47 "account-away (%s, %s, %s)\n", | |
48 gaim_account_get_username(account), state, message); | |
49 } | |
50 | |
51 static void | |
52 account_setting_info_cb(GaimAccount *account, const char *info, void *data) | |
53 { | |
54 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
55 "account-setting-info (%s, %s)\n", | |
56 gaim_account_get_username(account), info); | |
57 } | |
58 | |
59 static void | |
60 account_set_info_cb(GaimAccount *account, const char *info, void *data) | |
61 { | |
62 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
63 "account-set-info (%s, %s)\n", | |
64 gaim_account_get_username(account), info); | |
65 } | |
66 | |
67 static void | |
68 account_warned_cb(GaimAccount *account, const char *warner, int level, | |
69 void *data) | |
70 { | |
71 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
72 "account-warned (%s, %s, %d)\n", | |
73 gaim_account_get_username(account), warner, level); | |
74 } | |
75 | |
76 /************************************************************************** | |
77 * Buddy List subsystem signal callbacks | |
78 **************************************************************************/ | |
79 static void | |
7009
d77e99c55b40
[gaim-migrate @ 7568]
Christian Hammond <chipx86@chipx86.com>
parents:
6509
diff
changeset
|
80 buddy_away_cb(GaimBuddy *buddy, void *data) |
6485 | 81 { |
82 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
83 "buddy-away (%s)\n", buddy->name); | |
84 } | |
85 | |
86 static void | |
7009
d77e99c55b40
[gaim-migrate @ 7568]
Christian Hammond <chipx86@chipx86.com>
parents:
6509
diff
changeset
|
87 buddy_back_cb(GaimBuddy *buddy, void *data) |
6485 | 88 { |
89 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
90 "buddy-back (%s)\n", buddy->name); | |
91 } | |
92 | |
93 static void | |
7009
d77e99c55b40
[gaim-migrate @ 7568]
Christian Hammond <chipx86@chipx86.com>
parents:
6509
diff
changeset
|
94 buddy_idle_cb(GaimBuddy *buddy, void *data) |
6485 | 95 { |
96 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
97 "buddy-idle (%s)\n", buddy->name); | |
98 } | |
99 | |
100 static void | |
7009
d77e99c55b40
[gaim-migrate @ 7568]
Christian Hammond <chipx86@chipx86.com>
parents:
6509
diff
changeset
|
101 buddy_unidle_cb(GaimBuddy *buddy, void *data) |
6485 | 102 { |
103 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
104 "buddy-unidle (%s)\n", buddy->name); | |
105 } | |
106 | |
107 static void | |
7009
d77e99c55b40
[gaim-migrate @ 7568]
Christian Hammond <chipx86@chipx86.com>
parents:
6509
diff
changeset
|
108 buddy_signed_on_cb(GaimBuddy *buddy, void *data) |
6485 | 109 { |
110 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
111 "buddy-signed-on (%s)\n", buddy->name); | |
112 } | |
113 | |
114 static void | |
7009
d77e99c55b40
[gaim-migrate @ 7568]
Christian Hammond <chipx86@chipx86.com>
parents:
6509
diff
changeset
|
115 buddy_signed_off_cb(GaimBuddy *buddy, void *data) |
6485 | 116 { |
117 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
118 "buddy-signed-off (%s)\n", buddy->name); | |
119 } | |
120 | |
121 /************************************************************************** | |
122 * Connection subsystem signal callbacks | |
123 **************************************************************************/ | |
124 static void | |
125 signing_on_cb(GaimConnection *gc, void *data) | |
126 { | |
127 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
128 "signing-on (%s)\n", | |
129 gaim_account_get_username(gaim_connection_get_account(gc))); | |
130 } | |
131 | |
132 static void | |
133 signed_on_cb(GaimConnection *gc, void *data) | |
134 { | |
135 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
136 "signed-on (%s)\n", | |
137 gaim_account_get_username(gaim_connection_get_account(gc))); | |
138 } | |
139 | |
140 static void | |
141 signing_off_cb(GaimConnection *gc, void *data) | |
142 { | |
143 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
144 "signing-off (%s)\n", | |
145 gaim_account_get_username(gaim_connection_get_account(gc))); | |
146 } | |
147 | |
148 static void | |
149 signed_off_cb(GaimConnection *gc, void *data) | |
150 { | |
151 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
152 "signed-off (%s)\n", | |
153 gaim_account_get_username(gaim_connection_get_account(gc))); | |
154 } | |
155 | |
156 /************************************************************************** | |
157 * Conversation subsystem signal callbacks | |
158 **************************************************************************/ | |
159 static gboolean | |
7503 | 160 displaying_im_msg_cb(GaimAccount *account, GaimConversation *conv, |
161 char **buffer, void *data) | |
6485 | 162 { |
163 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
164 "displaying-im-msg (%s, %s)\n", | |
165 gaim_conversation_get_name(conv), *buffer); | |
166 | |
167 return FALSE; | |
168 } | |
169 | |
170 static void | |
171 displayed_im_msg_cb(GaimConversation *conv, const char *buffer, void *data) | |
172 { | |
173 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
174 "displayed-im-msg (%s, %s)\n", | |
175 gaim_conversation_get_name(conv), buffer); | |
176 } | |
177 | |
7503 | 178 static void |
6509 | 179 sending_im_msg_cb(GaimAccount *account, char *recipient, char **buffer, void *data) |
6485 | 180 { |
181 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
6509 | 182 "sending-im-msg (%s, %s, %s)\n", |
183 gaim_account_get_username(account), recipient, | |
184 *buffer); | |
6485 | 185 |
186 } | |
187 | |
188 static void | |
6509 | 189 sent_im_msg_cb(GaimAccount *account, const char *recipient, const char *buffer, void *data) |
6485 | 190 { |
191 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
6509 | 192 "sent-im-msg (%s, %s, %s)\n", |
193 gaim_account_get_username(account), | |
194 recipient, buffer); | |
6485 | 195 } |
196 | |
197 static gboolean | |
6509 | 198 received_im_msg_cb(GaimAccount *account, char **sender, char **buffer, |
199 int *flags, void *data) | |
6485 | 200 { |
201 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
6509 | 202 "received-im-msg (%s, %s, %s, %d)\n", |
203 gaim_account_get_username(account), *sender, *buffer, *flags); | |
6485 | 204 |
205 return FALSE; | |
206 } | |
207 | |
208 static gboolean | |
7503 | 209 displaying_chat_msg_cb(GaimAccount *account, GaimConversation *conv, |
210 char **buffer, void *data) | |
6485 | 211 { |
212 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
213 "displaying-chat-msg (%s, %s)\n", | |
214 gaim_conversation_get_name(conv), *buffer); | |
215 | |
6486
fab81e4b885c
[gaim-migrate @ 7000]
Christian Hammond <chipx86@chipx86.com>
parents:
6485
diff
changeset
|
216 return FALSE; |
6485 | 217 } |
218 | |
219 static void | |
220 displayed_chat_msg_cb(GaimConversation *conv, const char *buffer, void *data) | |
221 { | |
222 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
223 "displayed-chat-msg (%s, %s)\n", | |
224 gaim_conversation_get_name(conv), buffer); | |
225 } | |
226 | |
227 static gboolean | |
6509 | 228 sending_chat_msg_cb(GaimAccount *account, char **buffer, int id, void *data) |
6485 | 229 { |
230 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
6509 | 231 "sending-chat-msg (%s, %s, %d)\n", |
232 gaim_account_get_username(account), *buffer, id); | |
6485 | 233 |
234 return FALSE; | |
235 } | |
236 | |
237 static void | |
6509 | 238 sent_chat_msg_cb(GaimAccount *account, const char *buffer, int id, void *data) |
6485 | 239 { |
240 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
6509 | 241 "sent-chat-msg (%s, %s, %d)\n", |
242 gaim_account_get_username(account), buffer, id); | |
6485 | 243 } |
244 | |
245 static gboolean | |
6509 | 246 received_chat_msg_cb(GaimAccount *account, char **sender, char **buffer, |
247 int id, void *data) | |
6485 | 248 { |
249 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
6509 | 250 "received-chat-msg (%s, %s, %s, %s, %d)\n", |
251 gaim_account_get_username(account), *sender, *buffer, id); | |
6485 | 252 |
253 return FALSE; | |
254 } | |
255 | |
256 static void | |
257 conversation_switching_cb(GaimConversation *old_conv, | |
258 GaimConversation *new_conv, void *data) | |
259 { | |
260 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
261 "conversation-switching (%s, %s)\n", | |
262 gaim_conversation_get_name(old_conv), | |
263 gaim_conversation_get_name(new_conv)); | |
264 } | |
265 | |
266 static void | |
267 conversation_switched_cb(GaimConversation *old_conv, | |
268 GaimConversation *new_conv, void *data) | |
269 { | |
270 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
271 "conversation-switched (%s, %s)\n", | |
272 gaim_conversation_get_name(old_conv), | |
273 gaim_conversation_get_name(new_conv)); | |
274 } | |
275 | |
276 static void | |
277 conversation_created_cb(GaimConversation *conv, void *data) | |
278 { | |
279 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
280 "conversation-created (%s)\n", | |
281 gaim_conversation_get_name(conv)); | |
282 } | |
283 | |
284 static void | |
285 deleting_conversation_cb(GaimConversation *conv, void *data) | |
286 { | |
287 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
288 "deleting-conversation (%s)\n", | |
289 gaim_conversation_get_name(conv)); | |
290 } | |
291 | |
292 static void | |
293 buddy_typing_cb(GaimConversation *conv, void *data) | |
294 { | |
295 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
296 "buddy-typing (%s)\n", | |
297 gaim_conversation_get_name(conv)); | |
298 } | |
299 | |
300 static void | |
301 chat_buddy_joining_cb(GaimConversation *conv, const char *user, void *data) | |
302 { | |
303 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
304 "chat-buddy-joining (%s, %s)\n", | |
305 gaim_conversation_get_name(conv), user); | |
306 } | |
307 | |
308 static void | |
309 chat_buddy_joined_cb(GaimConversation *conv, const char *user, void *data) | |
310 { | |
311 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
312 "chat-buddy-joined (%s, %s)\n", | |
313 gaim_conversation_get_name(conv), user); | |
314 } | |
315 | |
316 static void | |
317 chat_buddy_leaving_cb(GaimConversation *conv, const char *user, | |
318 const char *reason, void *data) | |
319 { | |
320 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
321 "chat-buddy-leaving (%s, %s, %s)\n", | |
322 gaim_conversation_get_name(conv), user, reason); | |
323 } | |
324 | |
325 static void | |
326 chat_buddy_left_cb(GaimConversation *conv, const char *user, | |
327 const char *reason, void *data) | |
328 { | |
329 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
330 "chat-buddy-left (%s, %s, %s)\n", | |
331 gaim_conversation_get_name(conv), user, reason); | |
332 } | |
333 | |
334 static void | |
335 chat_inviting_user_cb(GaimConversation *conv, const char *name, | |
336 const char *reason, void *data) | |
337 { | |
338 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
339 "chat-inviting-user (%s, %s, %s)\n", | |
340 gaim_conversation_get_name(conv), name, reason); | |
341 } | |
342 | |
343 static void | |
344 chat_invited_user_cb(GaimConversation *conv, const char *name, | |
345 const char *reason, void *data) | |
346 { | |
347 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
348 "chat-invited-user (%s, %s, %s)\n", | |
349 gaim_conversation_get_name(conv), name, reason); | |
350 } | |
351 | |
352 static void | |
353 chat_invited_cb(GaimAccount *account, const char *inviter, | |
354 const char *room_name, const char *message, void *data) | |
355 { | |
356 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
357 "chat-invited (%s, %s, %s, %s)\n", | |
358 gaim_account_get_username(account), inviter, | |
359 room_name, message); | |
360 } | |
361 | |
362 static void | |
363 chat_joined_cb(GaimConversation *conv, void *data) | |
364 { | |
365 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
366 "chat-joined (%s)\n", | |
367 gaim_conversation_get_name(conv)); | |
368 } | |
369 | |
370 static void | |
371 chat_left_cb(GaimConversation *conv, void *data) | |
372 { | |
373 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
374 "chat-left (%s)\n", | |
375 gaim_conversation_get_name(conv)); | |
376 } | |
377 | |
378 /************************************************************************** | |
379 * Core signal callbacks | |
380 **************************************************************************/ | |
381 static void | |
382 quitting_cb(void *data) | |
383 { | |
384 gaim_debug(GAIM_DEBUG_MISC, "signals test", | |
385 "quitting ()\n"); | |
386 } | |
387 | |
388 /************************************************************************** | |
389 * Plugin stuff | |
390 **************************************************************************/ | |
391 static gboolean | |
392 plugin_load(GaimPlugin *plugin) | |
393 { | |
394 void *core_handle = gaim_get_core(); | |
395 void *blist_handle = gaim_blist_get_handle(); | |
396 void *conn_handle = gaim_connections_get_handle(); | |
397 void *conv_handle = gaim_conversations_get_handle(); | |
398 void *accounts_handle = gaim_accounts_get_handle(); | |
399 | |
400 /* Accounts subsystem signals */ | |
401 gaim_signal_connect(accounts_handle, "account-connecting", | |
402 plugin, GAIM_CALLBACK(account_connecting_cb), NULL); | |
403 gaim_signal_connect(accounts_handle, "account-away", | |
404 plugin, GAIM_CALLBACK(account_away_cb), NULL); | |
405 gaim_signal_connect(accounts_handle, "account-setting-info", | |
406 plugin, GAIM_CALLBACK(account_setting_info_cb), NULL); | |
407 gaim_signal_connect(accounts_handle, "account-set-info", | |
408 plugin, GAIM_CALLBACK(account_set_info_cb), NULL); | |
409 gaim_signal_connect(accounts_handle, "account-warned", | |
410 plugin, GAIM_CALLBACK(account_warned_cb), NULL); | |
411 | |
412 /* Buddy List subsystem signals */ | |
413 gaim_signal_connect(blist_handle, "buddy-away", | |
414 plugin, GAIM_CALLBACK(buddy_away_cb), NULL); | |
415 gaim_signal_connect(blist_handle, "buddy-back", | |
416 plugin, GAIM_CALLBACK(buddy_back_cb), NULL); | |
417 gaim_signal_connect(blist_handle, "buddy-idle", | |
418 plugin, GAIM_CALLBACK(buddy_idle_cb), NULL); | |
419 gaim_signal_connect(blist_handle, "buddy-unidle", | |
420 plugin, GAIM_CALLBACK(buddy_unidle_cb), NULL); | |
421 gaim_signal_connect(blist_handle, "buddy-signed-on", | |
422 plugin, GAIM_CALLBACK(buddy_signed_on_cb), NULL); | |
423 gaim_signal_connect(blist_handle, "buddy-signed-off", | |
424 plugin, GAIM_CALLBACK(buddy_signed_off_cb), NULL); | |
425 | |
426 /* Connection subsystem signals */ | |
427 gaim_signal_connect(conn_handle, "signing-on", | |
428 plugin, GAIM_CALLBACK(signing_on_cb), NULL); | |
429 gaim_signal_connect(conn_handle, "signed-on", | |
430 plugin, GAIM_CALLBACK(signed_on_cb), NULL); | |
431 gaim_signal_connect(conn_handle, "signing-off", | |
432 plugin, GAIM_CALLBACK(signing_off_cb), NULL); | |
433 gaim_signal_connect(conn_handle, "signed-off", | |
434 plugin, GAIM_CALLBACK(signed_off_cb), NULL); | |
435 | |
436 /* Conversations subsystem signals */ | |
437 gaim_signal_connect(conv_handle, "displaying-im-msg", | |
438 plugin, GAIM_CALLBACK(displaying_im_msg_cb), NULL); | |
6489 | 439 gaim_signal_connect(conv_handle, "displayed-im-msg", |
6485 | 440 plugin, GAIM_CALLBACK(displayed_im_msg_cb), NULL); |
441 gaim_signal_connect(conv_handle, "sending-im-msg", | |
442 plugin, GAIM_CALLBACK(sending_im_msg_cb), NULL); | |
443 gaim_signal_connect(conv_handle, "sent-im-msg", | |
444 plugin, GAIM_CALLBACK(sent_im_msg_cb), NULL); | |
445 gaim_signal_connect(conv_handle, "received-im-msg", | |
446 plugin, GAIM_CALLBACK(received_im_msg_cb), NULL); | |
447 gaim_signal_connect(conv_handle, "displaying-chat-msg", | |
448 plugin, GAIM_CALLBACK(displaying_chat_msg_cb), NULL); | |
449 gaim_signal_connect(conv_handle, "displayed-chat-msg", | |
450 plugin, GAIM_CALLBACK(displayed_chat_msg_cb), NULL); | |
451 gaim_signal_connect(conv_handle, "sending-chat-msg", | |
452 plugin, GAIM_CALLBACK(sending_chat_msg_cb), NULL); | |
453 gaim_signal_connect(conv_handle, "sent-chat-msg", | |
454 plugin, GAIM_CALLBACK(sent_chat_msg_cb), NULL); | |
455 gaim_signal_connect(conv_handle, "received-chat-msg", | |
456 plugin, GAIM_CALLBACK(received_chat_msg_cb), NULL); | |
457 gaim_signal_connect(conv_handle, "conversation-switching", | |
458 plugin, GAIM_CALLBACK(conversation_switching_cb), NULL); | |
459 gaim_signal_connect(conv_handle, "conversation-switched", | |
460 plugin, GAIM_CALLBACK(conversation_switched_cb), NULL); | |
461 gaim_signal_connect(conv_handle, "conversation-created", | |
462 plugin, GAIM_CALLBACK(conversation_created_cb), NULL); | |
463 gaim_signal_connect(conv_handle, "deleting-conversation", | |
464 plugin, GAIM_CALLBACK(deleting_conversation_cb), NULL); | |
465 gaim_signal_connect(conv_handle, "buddy-typing", | |
466 plugin, GAIM_CALLBACK(buddy_typing_cb), NULL); | |
467 gaim_signal_connect(conv_handle, "chat-buddy-joining", | |
468 plugin, GAIM_CALLBACK(chat_buddy_joining_cb), NULL); | |
469 gaim_signal_connect(conv_handle, "chat-buddy-joined", | |
470 plugin, GAIM_CALLBACK(chat_buddy_joined_cb), NULL); | |
471 gaim_signal_connect(conv_handle, "chat-buddy-leaving", | |
472 plugin, GAIM_CALLBACK(chat_buddy_leaving_cb), NULL); | |
473 gaim_signal_connect(conv_handle, "chat-buddy-left", | |
474 plugin, GAIM_CALLBACK(chat_buddy_left_cb), NULL); | |
475 gaim_signal_connect(conv_handle, "chat-inviting-user", | |
476 plugin, GAIM_CALLBACK(chat_inviting_user_cb), NULL); | |
477 gaim_signal_connect(conv_handle, "chat-invited-user", | |
478 plugin, GAIM_CALLBACK(chat_invited_user_cb), NULL); | |
479 gaim_signal_connect(conv_handle, "chat-invited", | |
480 plugin, GAIM_CALLBACK(chat_invited_cb), NULL); | |
481 gaim_signal_connect(conv_handle, "chat-joined", | |
482 plugin, GAIM_CALLBACK(chat_joined_cb), NULL); | |
483 gaim_signal_connect(conv_handle, "chat-left", | |
484 plugin, GAIM_CALLBACK(chat_left_cb), NULL); | |
485 | |
486 /* Core signals */ | |
487 gaim_signal_connect(core_handle, "quitting", | |
488 plugin, GAIM_CALLBACK(quitting_cb), NULL); | |
489 | |
490 return TRUE; | |
491 } | |
492 | |
493 static GaimPluginInfo info = | |
494 { | |
495 2, /**< api_version */ | |
496 GAIM_PLUGIN_STANDARD, /**< type */ | |
497 NULL, /**< ui_requirement */ | |
498 0, /**< flags */ | |
499 NULL, /**< dependencies */ | |
500 GAIM_PRIORITY_DEFAULT, /**< priority */ | |
501 | |
502 SIGNAL_TEST_PLUGIN_ID, /**< id */ | |
503 N_("Signals Test"), /**< name */ | |
504 VERSION, /**< version */ | |
505 /** summary */ | |
506 N_("Test to see that all signals are working properly."), | |
507 /** description */ | |
508 N_("Test to see that all signals are working properly."), | |
509 "Christian Hammond <chipx86@gnupdate.org>", /**< author */ | |
510 GAIM_WEBSITE, /**< homepage */ | |
511 | |
512 plugin_load, /**< load */ | |
513 NULL, /**< unload */ | |
514 NULL, /**< destroy */ | |
515 | |
516 NULL, /**< ui_info */ | |
517 NULL /**< extra_info */ | |
518 }; | |
519 | |
520 static void | |
521 init_plugin(GaimPlugin *plugin) | |
522 { | |
523 } | |
524 | |
525 GAIM_INIT_PLUGIN(signalstest, init_plugin, info) |