Hello,

it was my understanding that all interfaces in XPIDL should inherit from

nsISupports. That way, they will have QueryInterface, AddRef and
Release.
However, I've found that there are a number of idl files in Mozilla that

don't inherit from nsISupports. For instance:  nsMsgSearchType
This basically is an enum, it only contains constants.
So the reason for them is the fact that enums are not implemented in
XPIDL.
But I think I've read somewhere that you should always implement
nsISupports.

Could somebody clarify this for me please.

Greetings,

Marco Bosch


Reply via email to