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

Stephen Holt stephen.holt at gmail.com
Sat Jan 3 04:47:45 UTC 2009


Hey Daniel,
What you want to do it set your plugin be a subclass of AIPlugin,
and implement the AIContentFilter protocol.

AIPlugin will give you the adium shared instance, and a few other things.

You can check out the doxygen for the AIContentFilter here:
http://trac.adiumx.com/doxygen/adium-1.3/Docs/html/protocol_a_i_content_filter-p.html

If you need anymore help, let us know or just poke around the -devl channel
on irc.

--Steve Holt

On Fri, Jan 2, 2009 at 11:35 PM, Daniel Reeves <dreeves at gmail.com> 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/ac5993fe/attachment-0001.html>


More information about the devel mailing list