Benjamin D. Smedberg wrote:
IID = interface ID. You would pass Components.interfaces.myICallback.

Or from C++ NS_GET_IID(nsIFoo), which is what is wanted here afaict.


By the way, you will probably want at least one additional method on your myICallback interface, to deal with error conditions if the request could not complete successfully.

Or the notifyDone method could take an "in boolean aSuccess" argument (necko uses a similar argument for onStopRequest)
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to