Dear All,
I fear I'm about to ask a stupid question, but I'll do it anyway.
I've written several cross platform apps in C++ using WxWidgets and overall I'm happy with it.
However, looking at the polished look and feel of Firefox I'm considering switching to the mozilla codebase.
The problem is that on my looks through the mozilla sites my impression is that the developers would like people to use the libraries like that yet I don't see any particularly obvious hooks, like "building sample apps with the mozilla libraries" etc. I've probably just missed the links or something.
Libraries like what?
What you need depends on what kind of embedding you are trying to accomplish. We have a MFC embedding sample, an activex embedding control, and a gtkembed control that make embedding "easy" on various platforms. These controls, however, assume that you are writing the GUI/chrome of your app using some other technology.
If you want to write an app like firefox, you design your app using the XUL language, which provides the chrome/UI of your app. It's not hard to take the firefox binary and convert it to do many other things. We're also working on an "xulrunner" app which is a generic binary to launch XUL applications in a cross-platform manner.
For a basic tutorial/introduction to XUL, see http://www.xulplanet.com/
So my questions are - can it be done? - have others written apps using these libs successfully?
Yes, see NVU (http://www.nvu.com) and Sunbird (a stanalone calendar app).
- any links to samples? - licence for commercial distribution?
All files are covered by the Mozilla Public License, and can also be used under the GPL or LGPL, see http://www.mozilla.org/MPL for details.
--BDS _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
