To all plugin developers, The Daemon API has been changed slightly in a few ways. The first one requires a change in all plugins for them to compile. The function void icqFileTransferAccept() now requires 3 new parameters at the end. The function looks like this now:
void icqFileTransferAccept(unsigned long nUin, unsigned short nPort, unsigned short nSequence, unsigned long nMsgID[], bool bDirect, const char *szDesc, const char *szFile, unsigned long nFileSize); szDesc, szFile and nFileSize can be retrieved the same way as nMsgId, nPort, etc... //TODO in CICQDaemon server->icqFileTransferAccept(strtoul(m_lUsers.front().c_str(), (char **)NULL, 10), fileDlg->LocalPort(), f->Sequence(), f->MessageID(), f->IsDirect(), f->FileDescription(), f->Filename(), f->FileSize()); The next change should be done if any plugins wish to support new user registration. The ICQ protocol has been changed and now requirers users to type the text in an image when they register. A signal is pushed (SIGNAL_VERIFY_IMAGE) to the plugins that this will be done and the file is now located in BASE_DIR + "/Licq_verify.jpg" In the future there will be an MSN_verify.jpg YAHOO_verify.jpg or any other protocol plugins that we support that require this type of verification. But for now, just ust Licq_verify.jpg and you'll be fine. When you get the user verification, call the function CICQDaemon::icqVerify(const char *szVerifyText). The next change does not require any changes in any plugins, unless they desire to use the new functionality. When a new user is registered, a signal is pushed (SIGNAL_NEW_OWNER) to the daemon in addition to an event. This is done with the future in mind. Licq will support more protocols in the future and needs to be able to adapt this functionality for it. The ::Id() is the newly registered owner and the ::PPID() is the protocol they are using. This isn't necessary now, but will be in the future if the plugin will support multiple protocols. If there are any questions, just post them to the list. Jon ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel