Eric wrote:
as for your suggestion ,i don't fully understand ,cause my goal is to
implement an independant application based on xpcom ,with xulrunner
and i want my xpcom --the MyComponent.dll also be able to response to the
notifications both from dll and from javascript .
if i don't inherit from nsIObserver

Your _component_ should inherit from nsIObserver. Your _interface_ should not. C++ supports multiple inheritance; use it here. ;)

-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to