[OTR-dev] Core/UI Split of gaim-otr-1.0.3

Ian Goldberg ian at cypherpunks.ca
Fri Jan 21 08:31:07 EST 2005


On Thu, Jan 20, 2005 at 10:44:58PM -0600, Evan Schoenberg wrote:
> Folks (and probably Ian specifically), 
> 
> Could you give me some details on how a UI for gaim-otr is 
> intended/envisioned to be implemented.  All three files .c files 
> presently require GTK, and the plugin claims to be 
> GAIM_GTK_PLUGIN_TYPE. Should I take this to mean that the idea is that 
> this is gaim-otr-gtk and there should be, in addition, a gaim-otr-cocoa 
> or whatever?  

There's pretty much no logic left in gaim-otr; it's all UI.  ui.c is the
UI for the preferences panel, dialog.c are the dialog boxes, and
otr-plugin.c is the "glue" to gaim.

For Adium X, you'd probably need to implement each of these pieces using
Cocoa or whatever, but you could follow the structure closely if you
liked.  [otr-plugin.c probably has the most reuseable bits in it, since
the glue to Adium should be similar to gaim.]

I was under the impression that there wasn't gaim for OSX, just Adium X.
So wouldn't your package be adium-otr or something?

   - Ian



More information about the OTR-dev mailing list