Peter Djalaliev wrote:
I am looking for something of the sort of being able to "ask" the
object "What is the list of all interfaces you implement?" rather than
asking it "Do you implement this interface?" multiple times, for each
interface separately.

In general you can't do that.

Some objects implement nsIClassInfo, which you can ask for the list of supported interfaces, but they are comparatively few.

--
All the world's a stage,
And all the men and women merely players:
They have their exits and their entrances;
And one man in his time plays many parts, [...]     --W. Shakespeare
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to