Mercurial > pidgin
annotate plugins/perl/common/module.h @ 11052:8a68c933a5dd
[gaim-migrate @ 12990]
Patch #1227165 from sadrul
This patch probes plugins when the plugin page is loaded in preferences. This allows users to activate newly installed plugins without restarting Gaim.
The only way I can see this being a problem is if you installed a plugin which was version-compatible but binary incompatible. (For example, you're working on Gaim HEAD and change a public struct in a way that's binary backwards incompatible, build a plugin against it, install the plugin, and open the preferences page of a running copy of Gaim from before the change.) Even then, depending on the particular plugin and binary incompatibility, you might have to activate the plugin before Gaim would crash.
So, unless I'm missing something, this should be safe. Let's see how it goes.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Sun, 03 Jul 2005 05:28:57 +0000 |
| parents | bf630f7dfdcd |
| children | 134d0001983d |
| rev | line source |
|---|---|
| 6508 | 1 typedef struct group *Gaim__Group; |
| 2 | |
| 3 #define group perl_group | |
| 4 | |
|
6816
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
5 #include <glib.h> |
|
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
6 #ifdef _WIN32 |
|
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
7 #undef pipe |
|
5aeba37b303c
[gaim-migrate @ 7356]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6699
diff
changeset
|
8 #endif |
| 6508 | 9 #include <EXTERN.h> |
| 10 #include <perl.h> | |
| 11 #include <XSUB.h> | |
| 12 | |
| 13 #undef group | |
| 14 | |
| 15 #include "../perl-common.h" | |
| 16 | |
| 17 #include "account.h" | |
| 18 #include "connection.h" | |
|
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
19 #include "conversation.h" |
| 6508 | 20 #include "debug.h" |
|
6523
d7e04709be96
[gaim-migrate @ 7040]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
21 #include "server.h" |
| 6508 | 22 |
|
6531
7c42b8ca3222
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6523
diff
changeset
|
23 typedef GaimAccount * Gaim__Account; |
|
6699
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
24 typedef GaimBuddy * Gaim__BuddyList__Buddy; |
|
7118
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
6816
diff
changeset
|
25 typedef GaimChat * Gaim__BuddyList__Chat; |
|
6699
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
26 typedef GaimGroup * Gaim__BuddyList__Group; |
|
12169973c663
[gaim-migrate @ 7225]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
27 typedef GaimContact * Gaim__BuddyList__Contact; |
|
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
28 typedef GaimConnection * Gaim__Connection; |
|
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
29 typedef GaimConversation *Gaim__Conversation; |
|
7118
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
6816
diff
changeset
|
30 typedef GaimConvChat * Gaim__Conversation__Chat; |
|
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
6816
diff
changeset
|
31 typedef GaimConvIm * Gaim__Conversation__IM; |
|
bf630f7dfdcd
[gaim-migrate @ 7685]
Christian Hammond <chipx86@chipx86.com>
parents:
6816
diff
changeset
|
32 typedef GaimConvWindow * Gaim__ConvWindow; |
|
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
33 typedef GaimPlugin * Gaim__Plugin; |
|
6588
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
34 |
|
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
35 typedef GaimDebugLevel Gaim__DebugLevel; |
