Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsSample.h File Reference
#include "nsISample.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsSampleImpl

Defines

#define NS_SAMPLE_CID   { 0x7cb5b7a0, 0x7d7, 0x11d3, { 0xbd, 0xe2, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
 A sample of XPConnect.
#define NS_SAMPLE_CONTRACTID   "@mozilla.org/sample;1"

Define Documentation

#define NS_SAMPLE_CID   { 0x7cb5b7a0, 0x7d7, 0x11d3, { 0xbd, 0xe2, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }

A sample of XPConnect.

This file is the header of an implementation nsSample of the nsISample interface. SampleImpl is an implementation of the nsISample interface. In XPCOM, there can be more than one implementation of an given interface. Class IDs (CIDs) uniquely identify a particular implementation of an interface. Interface IDs (IIDs) uniquely identify an interface.

The CID is also a unique number that looks just like an IID and uniquely identifies an implementation {7CB5B7A0-07D7-11d3-BDE2-000064657374}

Definition at line 57 of file nsSample.h.

#define NS_SAMPLE_CONTRACTID   "@mozilla.org/sample;1"

Definition at line 60 of file nsSample.h.