Mercurial > pidgin
diff plugins/simple.c @ 92:f3c6cf79f651
[gaim-migrate @ 102]
Loading/unloading plugins works correctly. I have to add "hooks" to the
rest of gaim now to do certain things. Other than that, it's all good.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 07 Apr 2000 22:48:58 +0000 |
parents | f5b305c0d974 |
children | 9f6ce50ffb78 |
line wrap: on
line diff
--- a/plugins/simple.c Fri Apr 07 19:53:11 2000 +0000 +++ b/plugins/simple.c Fri Apr 07 22:48:58 2000 +0000 @@ -1,9 +1,17 @@ #include <stdio.h> void gaim_plugin_init() { - printf("works.\n"); + printf("plugin loaded.\n"); } void gaim_plugin_remove() { - printf("works again.\n"); + printf("plugin unloaded.\n"); } + +char *name() { + return "Simple plugin"; +} + +char *description() { + return "Tests to see that most things are working."; +}