btw, what is the history behind parsing blist.xml ?

I tried to go dbus API only, and found that it was... challenging. For 
example, I don't think blist_node_get_child() is bound, so you can't 
traverse the blist nodes. I tried various other things too.

However, I found that if you pass an empty string to AccountFindBuddies 
it returns all the buddies. I'm hoping this turns out to be sufficient.

The signals have the bizarre feature that they change signature 
according to the platform gaim is compiled on... on 64-bit platforms, 
gaim's code goes out of its way to cast the 32-bit buddy ID to a 64-bit 
integer on the wire. This means in your code you have to handle either 
one (since Gaim's 32-bitness isn't related to one's own 32-bitness).

On the whole I think Gaim's D-Bus API needs to be completely redone... 
using integer id's instead of object paths is just one big festival of 
pain since none of the dbus bindings work right that way.

(I'm coding this in C, or I'd send code for gimmie)

Havoc

_______________________________________________
gimmie-list mailing list
[email protected]
http://lists.beatniksoftware.com/listinfo.cgi/gimmie-list-beatniksoftware.com

Reply via email to