[Adium-devl] adium plugin devel, extends AIContentFilter class, compile error: "'adium' undeclared..."
stephen.holt at gmail.com
Sat Jan 3 04:47:45 UTC 2009
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:
If you need anymore help, let us know or just poke around the -devl channel
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?
> http://ai.eecs.umich.edu/people/dreeves - - search://"Daniel Reeves"
> dreeves donated $0.01 to Crohn's and Colitis Foundation of America to send
> Proof: http://centmail.net/stamp/2Tnf4TjrkLjZSyPX
> Adium-devl mailing list
> Adium-devl at adiumx.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Adium-devl