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

Patrick B. Gibson patrick at fadeover.org
Sat Jan 3 04:40:00 UTC 2009


Hey Daniel,

You probably need to add

#import <Adium/AISharedAdium.h>

to your plugin's main class. 'adium' used to be in <Adium/Adium.h> (I  
think) but was recently moved. I know I hit this not too long ago when  
messing with plugins.

Cheers,
Patrick

On 2-Jan-09, at 20:35 , Daniel Reeves wrote:

> I'm writing an Adium plugin that extends the AIContentFilter class,
> and when I try to access Adium's contentController to register it as a
> contentFilter =>
>  [[adium contentController] registerContentFilter:self
>  ofType:AIFilterContent direction:AIFilterIncoming];
> for example, it gives a compile error: "'adium' undeclared (first use
> this function)"
>
> I've looked at other contentFilter plugins and can't divine what I'm
> missing.. an import of a particular header? some dependency in the
> build settings? Any ideas/help?
>
> Thanks!
>
> --
> http://ai.eecs.umich.edu/people/dreeves  - -  search://"Daniel Reeves"
>
> dreeves donated $0.01 to Crohn's and Colitis Foundation of America  
> to send this.
> Proof: http://centmail.net/stamp/2Tnf4TjrkLjZSyPX
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20090102/f963fd40/attachment-0001.html>


More information about the devel mailing list