• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making framework accessible to plug-ins?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making framework accessible to plug-ins?


  • Subject: Re: Making framework accessible to plug-ins?
  • From: Greg Titus <email@hidden>
  • Date: Mon, 6 Jan 2003 23:42:02 -0800

On Monday, January 6, 2003, at 11:25 PM, John Anderson wrote:

I'm trying to build a plug-in based application but I'm having problems...

All plug-ins have a principal class that's a subclass of SyncPlugin. So, what to do... right now all of my plug-ins include the SyncPlugin superclass header and source files included. But I get "duplicate implementations of SyncPlugin" errors in the console.

What's the best way to address this issue?

Thanks :-)

You need to make a framework target, put the shared classes like SyncPlugin into the framework, and then have both the application and the plugins include that framework.

Hope this helps,
- Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Making framework accessible to plug-ins? (From: John Anderson <email@hidden>)

  • Prev by Date: Making framework accessible to plug-ins?
  • Next by Date: Re: Quickly drawing non-antialiased, discrete, pixels
  • Previous by thread: Making framework accessible to plug-ins?
  • Next by thread: Converting OSX Path to a OS9 Path
  • Index(es):
    • Date
    • Thread