David Einstein wrote: > Is there a way of dicovering all of the classes that implement an XPCOM > interface? >
Many moons ago I worte up some utilities as part of jslib that do just that. http://jslib.mozdev.org/ for example, if you load in a progID, interfaces that the class implements are returned: js> var progID='@mozilla.org/file/local;1'; js> getInterfaceFromProgID(progID); nsILocalFile,nsIFile js> There are a bunch of useful methods there if you may find it helpful. http://www.mozdev.org/source/browse/jslib/libraries/utils/ xpcom.js is the lib you want to look at in this case. --pete
