Mercurial > pidgin
annotate plugins/perl/common/typemap @ 9740:2bb5e2cd64bd
[gaim-migrate @ 10605]
" A few days back, someone on #gaim was wondering how to
block IM's from IRC, which isn't supported by gaim, as
this isn't supported at a protocol level. I decided to
implement gaim's privacy options (permit lists, deny
lists, block all users, and permit people on buddy
list) at a local level for IRC and
Zephyr. Jabber, SILC, and Trepia don't seem to support
deny or permit lists in Gaim, but I don't use the
latter two protocols and wasn't sure about how to
implemnt in in Jabber.
When implementing it, I noticed that changes in privacy
settings didn't automatically cause blist.xml to get
scheduled
for writing (even on exit). To fix this, I needed to
make schedule_blist_save in blist.c non-static and call
it from serv_set_permit_deny() in server.c, and
gaim_privacy_{permit,deny}_{add,remove} in privacy.c ." --Arun A Tharuvai
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Wed, 11 Aug 2004 23:52:48 +0000 |
| parents | eb95f31fa4eb |
| children | ecb2384d4bab |
| rev | line source |
|---|---|
| 6508 | 1 TYPEMAP |
|
6531
7c42b8ca3222
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
2 gboolean T_BOOL |
|
6678
eb95f31fa4eb
[gaim-migrate @ 7203]
Christian Hammond <chipx86@chipx86.com>
parents:
6591
diff
changeset
|
3 const char * T_PV |
|
6531
7c42b8ca3222
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
4 Gaim::Account T_GaimObj |
|
7c42b8ca3222
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
5 Gaim::BuddyList::Group T_GaimObj |
|
7c42b8ca3222
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
6 Gaim::BuddyList::Buddy T_GaimObj |
|
7c42b8ca3222
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
7 Gaim::BuddyList::Chat T_GaimObj |
|
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
8 Gaim::Chat T_GaimObj |
|
6588
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
9 Gaim::Connection T_GaimObj |
|
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
10 Gaim::Conversation T_GaimObj |
|
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
11 Gaim::Conversation::Chat T_GaimObj |
|
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
12 Gaim::Conversation::IM T_GaimObj |
|
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
13 Gaim::ConvWindow T_GaimObj |
|
6588
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
14 Gaim::DebugLevel T_IV |
|
6591
d25ae4b5a204
[gaim-migrate @ 7115]
Christian Hammond <chipx86@chipx86.com>
parents:
6588
diff
changeset
|
15 Gaim::IM T_GaimObj |
|
6588
7f5f57dd5cac
[gaim-migrate @ 7110]
Christian Hammond <chipx86@chipx86.com>
parents:
6531
diff
changeset
|
16 Gaim::Plugin T_GaimObj |
| 6508 | 17 |
| 18 INPUT | |
| 19 | |
| 20 T_GaimObj | |
| 21 $var = gaim_perl_ref_object($arg) | |
| 22 | |
| 23 | |
| 24 OUTPUT | |
| 25 | |
| 26 T_GaimObj | |
|
6531
7c42b8ca3222
[gaim-migrate @ 7048]
Christian Hammond <chipx86@chipx86.com>
parents:
6520
diff
changeset
|
27 $arg = gaim_perl_bless_object($var, \"$type\"); |
