Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs
nsID.h File Reference
#include <string.h>
#include "nscore.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsID
 A "unique identifier". More...

Defines

#define NS_DEFINE_CID(_name, _cidspec)   const nsCID _name = _cidspec
#define REFNSCID   const nsCID&
#define REFNSIID   const nsIID&
 A macro shorthand for const nsIID&
#define NS_DEFINE_IID(_name, _iidspec)   const nsIID _name = _iidspec
 Define an IID obsolete - do not use this macro.
#define NS_DEFINE_STATIC_IID_ACCESSOR(the_iid)   static const nsIID& GetIID() {static const nsIID iid = the_iid; return iid;}
 A macro to build the static const IID accessor method.
#define NS_DEFINE_STATIC_CID_ACCESSOR(the_cid)   static const nsID& GetCID() {static const nsID cid = the_cid; return cid;}
 A macro to build the static const CID accessor method.

Typedefs

typedef nsID nsCID
typedef nsID nsIID
 An "interface id" which can be used to uniquely identify a given interface.

Define Documentation

#define NS_DEFINE_CID (   _name,
  _cidspec 
)    const nsCID _name = _cidspec

Definition at line 110 of file nsID.h.

#define NS_DEFINE_IID (   _name,
  _iidspec 
)    const nsIID _name = _iidspec

Define an IID obsolete - do not use this macro.

Definition at line 133 of file nsID.h.

#define NS_DEFINE_STATIC_CID_ACCESSOR (   the_cid)    static const nsID& GetCID() {static const nsID cid = the_cid; return cid;}

A macro to build the static const CID accessor method.

Definition at line 147 of file nsID.h.

#define NS_DEFINE_STATIC_IID_ACCESSOR (   the_iid)    static const nsIID& GetIID() {static const nsIID iid = the_iid; return iid;}

A macro to build the static const IID accessor method.

Definition at line 140 of file nsID.h.

Definition at line 113 of file nsID.h.

A macro shorthand for const nsIID&

Definition at line 126 of file nsID.h.


Typedef Documentation

typedef nsID nsCID

Definition at line 107 of file nsID.h.

typedef nsID nsIID

An "interface id" which can be used to uniquely identify a given interface.

Definition at line 120 of file nsID.h.