Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
- Subject: Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
- From: Kyle Sluder <email@hidden>
- Date: Mon, 1 Feb 2010 11:15:54 -0800
On Mon, Feb 1, 2010 at 10:13 AM, Jonah Petri <email@hidden> wrote:
> How do other folks deal with this?
We statically link some code into our Automator actions, so we
encounter the same scenario. We abuse the preprocessor a bit by
compiling with a flag such as -DPLUGIN_NAME=MyPlugin and using code
like this:
#ifdef PLUGIN_NAME
#define MyClass PLUGIN_NAME_MyClass
#endif
@interface MyClass : …
--Kyle Sluder
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden