Mercurial > pidgin.yaz
comparison plugins/HOWTO @ 391:be408b41c172
[gaim-migrate @ 401]
Plugins got updated.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 12 Jun 2000 11:30:05 +0000 |
parents | e8dae982b37c |
children | bbff7d508593 |
comparison
equal
deleted
inserted
replaced
390:0890c6250e7e | 391:be408b41c172 |
---|---|
25 | 25 |
26 The void * that gets passed to gaim_plugin_init is the handle for the plugin. | 26 The void * that gets passed to gaim_plugin_init is the handle for the plugin. |
27 DO NOT CHANGE THIS POINTER! Bad things will happen. You've been warned. It's | 27 DO NOT CHANGE THIS POINTER! Bad things will happen. You've been warned. It's |
28 needed for connecting to signals and things. It's a good idea to remember it | 28 needed for connecting to signals and things. It's a good idea to remember it |
29 somehow. | 29 somehow. |
30 | |
31 gaim_plugin_init should return an int. If the int it returns is anything other | |
32 than 0, it is interpreted as an error, and gaim_plugin_error is called. See | |
33 the ChangeLog file in this directory for more details, and error.c for an | |
34 example. | |
30 | 35 |
31 You can basically do anything you want in the plugin. You can make function | 36 You can basically do anything you want in the plugin. You can make function |
32 calls, change public widgets, display new widgets, things like that. But the | 37 calls, change public widgets, display new widgets, things like that. But the |
33 really neat thing is you can do things at events. For example, when one of | 38 really neat thing is you can do things at events. For example, when one of |
34 your buddies signs on, you can instantly send them a message. You can modify | 39 your buddies signs on, you can instantly send them a message. You can modify |