jml wrote:
Hi, new to mozilla, so newbie questions.
In nsIComponentRegistrar, there are methods as:
nsISimpleEnumerator enumerateContractIDs();
then on nsISimpleEnumerator, there is function to
nsISupports getNext();
My question is, what will be the type of the nsISupports get from getNext().
Thanks
jml
Looks like the comment got wacked or never completed:
* Enumerate the list of all registered CIDs.
*
* @return : enumerator for CIDs. This enumerator can be QI'ed for
*/
I will fix the comments today.
The contract id enumeration can be QI'ed for nsISupportsCString. The cid enumeration can be QI'ed for a nsISupportsID.
Regards,
Doug Turner
[EMAIL PROTECTED]