Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 91:308d0896d979 | 92:f3c6cf79f651 |
|---|---|
| 1 #include <stdio.h> | 1 #include <stdio.h> |
| 2 | 2 |
| 3 void gaim_plugin_init() { | 3 void gaim_plugin_init() { |
| 4 printf("works.\n"); | 4 printf("plugin loaded.\n"); |
| 5 } | 5 } |
| 6 | 6 |
| 7 void gaim_plugin_remove() { | 7 void gaim_plugin_remove() { |
| 8 printf("works again.\n"); | 8 printf("plugin unloaded.\n"); |
| 9 } | 9 } |
| 10 | |
| 11 char *name() { | |
| 12 return "Simple plugin"; | |
| 13 } | |
| 14 | |
| 15 char *description() { | |
| 16 return "Tests to see that most things are working."; | |
| 17 } |
