Boris, you've been very helpful, but I'm afraid I have more questions for you.
Boris Zbarsky <[EMAIL PROTECTED]> wrote: > Ben Hutchings wrote: >> Oddly I can only find an IDL file for that, not a header file > > The nsIStyleSheetService.h header is generated via xpidl. I figured it was something like that, but didn't know what the tool was - I've used COM previously but not XPCOM. Is it a frozen interface? If not, do you have any suggestions for how to find the relevant version of the interface definition? Debian's mozilla-dev package doesn't include the IDL file. Could this be considered a packaging bug? >> (LXR denies all knowledge of the identifier). > > Yeah, lxr kinda sucks like that. Can it not parse IDL files? >> Should I attempt to generate >> a header file, and how should I find a/the implementation of it at >> run-time? > > getService() the "@mozilla.org/content/style-sheet-service;1" contract. Great. Thanks. Ben. -- Ben Hutchings For every complex problem there is a solution that is simple, neat, and wrong. _______________________________________________ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding