Delirium tremens
Delirium tremens

Reputation: 4739

Finding XPCOM Contract IDs: components.Classes["THISPART"]

When you need to create or access well-known objects in XPCOM, where do you find their contract IDs?

Upvotes: 1

Views: 358

Answers (2)

Paul Rouget
Paul Rouget

Reputation: 12170

You also should look at the Mozilla code through http://mxr.mozilla.org to understand how people use interfaces and functions your want to use.

Upvotes: 2

sdwilsh
sdwilsh

Reputation: 4682

It really depends on the object you are looking for. Generally, the documentation will tell you what the contract ID is. If there's a specific contract ID you are looking for, that'd be an easier to answer question.

Upvotes: 0

Related Questions