[Adium-devl] adium plugin devel, extends AIContentFilter class, compile error: "'adium' undeclared..."
David Smith
catfish.man at gmail.com
Sat Jan 3 20:43:54 UTC 2009
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.
David
More information about the devel
mailing list