On Friday 07 March 2003 14:29, Martin MAURER wrote: > Hi everybody, > > I am currently developping an OSD (On Screen Display) plugin for licq > (similar as the OSD in sim). As I want to implement Logon/logoff > messages too, I realized one problem: > when I go online in ICQ I receive every currently online user as a > SIGNAL_UPDATExUSER signal. It makes now no sense, to display all these > users in a logged on message. (I only want to display users who log > on/off while I am online). > Is there a possibility to get this information out of licq, > or is the only way to use a timestamp storing my own logon (and not > showing signals occuring shortly after that time). This would be a > possibility, but it is a little hackish and I would prefer a cleaner > solution - if one exists.
Your plugin should receive the SIGNAL_LOGON and SIGNAL_LOGOFF signals. You could use this signal to trigger a timer. You're right, this tastes a bit like a hack, but why not ? ;-) thomas
pgp00000.pgp
Description: signature