>Subject: Writing plugins
>From: "ScottP" <[EMAIL PROTECTED]>
>
>I'm looking for advice on the best way to create 'plugins' for an
>application I'm writing. I'm hoping eventually to be able to just 
>publish an API so anyone can write plugins for the program. 
>I've been trying to work out how other programs do it, but the >information
appears to be hidden behind licensing agreements.
>   <SNIP>

One way is to create a shared library that does the work and then 
provide an API set (through a static library) that provides an 
easy-to-use interface to it.  This way you control the interface.
You could expose the underlying traps and not publish an API
but that has greater risk that the persons using your shared
library will mess something up (ie: higher support costs for you!)

The other way is the way you describe, with messaging using 
the launcher, but I'd think that would only be appropriate if you
have a very limited set of interactions to your plug-in.

Roger Stringer
Marietta Systems, Inc.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to