Cross-platform Plugins (XUL plugins, specifically)

"Benjamin Smedberg" <[email protected]> Tue, 17 Sep 2002 17:49:12 -0400
Newsgroups gmane.comp.mozilla.devel.xpfe,gmane.comp.mozilla.devel.embedding,gmane.comp.mozilla.devel.plugins,gmane.comp.mozilla.devel.xpcom
Organization St. Patrick Church - Washington, D.C.
Message-ID <[email protected]>
AFAIK, there is not currently a plan for a cross-platform plugin
architecture.  However, gerv said that he thought there had been some talk
of this, at least, if not a design.  I would like to implement a
cross-platform plugin architecture for XUL, using XPCOM technology to avoid
having to code plugins three times for different platforms.  Before I
present my detailed plans, I wanted to see if a pre-existing plan exists of
which I am unaware.

The goal with this plugin technology is to extend XUL so that application
developers who are using XUL for "other" projects besides browsers can have
an extended drawing palette: for example for the Gregorian chant typesetting
program I am programming, the UI would be designed in XUL, manipulating a
central plugin object.  This plugin object would be written in XP C++, and
would do its drawing using the GFX interfaces, rather than native system
calls in a window.

** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **
**   Benjamin Smedberg, Director of Music    **
**   St. Patrick's Church, Washington D.C.   **
**  VOX 202-347-2713 x102 - FAX 202-347-1401 **
**           [email protected]          **
**             "Soli Deo Gloria"             **
** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **