[Adium-devl] adium plugin devel, extends AIContentFilter class, compile error: "'adium' undeclared..."

Evan Schoenberg evan.s at dreskin.net
Sun Jan 4 05:03:43 UTC 2009


On Jan 3, 2009, at 3:43 PM, David Smith wrote:

>
> On Jan 3, 2009, at 8:45 AM, Evan Schoenberg wrote:
>
>>
>> On Jan 2, 2009, at 11:47 PM, Stephen Holt wrote:
>>
>>> AIPlugin will give you the adium shared instance, and a few other  
>>> things.
>>
>> Actually, as of 1.4svn, 'adium' is a global variable accessed via  
>> #import <Adium/AISharedAdium.h> (as Patrick mentioned)... I still  
>> agree that the plugin's main class should be a subclass of  
>> AIPlugin :)
>>
>> -Evan
>
> It occurs to me that as a convenience for plugin authors, we could  
> simply #import <Adium/AISharedAdium.h> in AIPlugin.h and get the  
> same effect as the old ivar.

That sounds like a fine idea to me. Want to take care of it?

-Evan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20090104/4c462195/attachment.sig>


More information about the devel mailing list