Hi Neil,

Thanks for the response. However, it couldn't compile when I include the onStateChange(), etc into the IDL. It says `onStateChange' conflicts with nsIWebProgressListener.idl
Below is my code:

#include "nsIWebProgressListener.idl"
.
.
interface nsITTB : nsIWebProgressListener
{
   void onStateChange(in nsIWebProgress aWebProgress,
                     in nsIRequest aRequest,
                     in unsigned long aStateFlags,
                     in nsresult aStatus);
};

zen



Neil Stansbury wrote:
Replace nsISupports with nsIWebProgressListener

Thus:

interface myInterface : nsIWebProgressListener    {
    attribute string someval;
}


N


zen wrote:

hi all,
how can i inherit the nsIWebProgressListener in my IDL?

thanks
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to