This will require a one-time update of the various interfaces to have an additional out parameter to replace the old return type, but that's not too bad of a scene. Many interfaces specify methods of the form SetFoo without a corresponding GetFoo method. Using the IDL attribute int foo syntax will cause a GetFoo to be generated as well. I don't think that's a big deal, but if it is we could try adding a writeonly attribute or something.
Ideas are more than welcome.
The Mozilla Organization. Last modified July 5, 2000. Document History .