Hi,
I've managed to retrieve the Xtraz status, but now I reached the point
where I should start making decisions, so before doing anything I'd
like to listen to your opinions.
First of all, the only things I've done so far are:
* licq sends xtraz capabilities to server
* licq retrieves xtraz status and identifies it (daemon only)
Now I'm working on retrieving the xtraz status message. I've
identified the packet that should be sent. The question is: should
licq retrieve the message as soon as it determines that the user has
xtraz status (this is the default behaviour of Mirabilis ICQ) or
should we have a button to retrieve it (like Away or N/A messages)?
To retrieve the xtraz message, I need to decode an xml message. Is
there anything done already? I've seen xml in other parts of the
protocol, so I wouldn't like to code something that already exists.
The format is similar to this:
<ret event='OnRemoteNotification'>
<srv><id>cAwaySrv</id>
<val srv_id='cAwaySrv'>
<Root><CASXtraSetAwayMessage></CASXtraSetAwayMessage>
<uin>user's UIN</uin>
<index>1</index>
<title>Status Name</title>
<desc>Status Description</desc>
</Root>
</val>
</srv>
</ret>
I still haven't looked at the qt-gui code, but after retrieving the
message, I'm planning to modifiy the qt-gui in order to reflect the
status with the xtraz icons. I'm planning to use Mirabilis icons, at
least for the moment. Then each skin should have their xtraz icons,
but I figure that if we're using Mirabilis emoticons, I think that
we'll be able to use these icons as well. I'm not sure about the
licenses, though.
Well, this is only the beginning. :-) Any hints will be much appreciated.
Cheers.
Seba