Re: How to add new protocol to Fire?
Jason Townsend <[email protected]> Sun, 21 Nov 2004 16:42:23 -0800
| Newsgroups | gmane.network.fire.devel |
|---|---|
| Message-ID | <[email protected]> |
On Nov 20, 2004, at 12:13 AM, Jason Townsend wrote: > On Nov 2, 2004, at 2:12 AM, Pawel Piecuch wrote: >> I would like to add to Fire support for the most popular IM service >> in Poland called Gadu-Gadu. Could you give a few hits where to start >> from and what code of Fire I should take a look? > > There is a feature request open on adding this service: > > [ 715431 ] Support For GaduGadu Protocol > http://sourceforge.net/tracker/index.php? > func=detail&aid=715431&group_id=33772&atid=409173 > > As to adding new services to Fire... there are a couple of ways to do > it. You could add a new FireBundle plug-in and simply copy one of the > other services and reimplement the *Service and > *CommunicationController classes. Most of the libraries we use also > need C callbacks and we put those in a *CFunctions.m class which calls > into the CommunicationController for that service. > > A couple of things to keep in mind... 1) we're doing a fairly > significant update to the architecture for Fire 1.2 (the feature > release after next). This is currently on the ServiceUpdate branch in > CVS. The tip of tree CVS is going to be Fire 1.1. > > Another idea which we have talked about at various points is to > implement compatability with Gaim plug-ins from within Fire. If we > implemented this it would allow us to pick up any services we > currently lack from Gaim (which I believe already supports GaduGadu). > > Let us know what direction you want to pursue and we can talk about > what is needed in more detail. The idea of adding support for Gaim plug-ins is probably best done on the ServiceUpdate branch. If you want to do a GaduGadu service plug-in along the lines of the other Fire plug-ins, that could be done for 1.1 or the ServiceUpdate. There have been some changes so if you do a 1.1 version some changes would be needed to port to the 1.2 source base. -Jason ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/