|
From: James W. W. <os...@jw...> - 2004-11-01 01:57:25
|
Following the discussion of plug-in loading last week, I decided to implement Mach-O plugin loading. I decided that to try to make plug-ins cross runtime architectures (Mach-O Quesa loading CFM plugin or vice versa) would be too much effort for too little benefit. So, a CFM version of Quesa still only sees CFM shared library plug-ins. On the other hand, a Mach-o framework version of Quesa looks for Mach-o bundle plugins, which are recognized by the extension ".quesaplug". In order for the framework version of Quesa to load its resources, it needs to have an Info.plist file specifying the bundle identifier "org.Quesa.Quesa", and to specify an initialization function E3MacMachoFrameworkInit. I've added a CodeWarrior 9 project to build frameworks that way. The XCode project will also need to be updated, but I'm not sure I'm sufficiently comfortable with XCode to be mucking about with it. In order to test all this, I updated RayShade to build a Mach-O plugin version of it. -- <http://www.jwwalker.com/> |