Back to index

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

Go to the source code of this file.

Classes

protocol  NS_NO_VTABLE
 Private interface implemented by the nsXFormsUtilityService in XForms extension. More...

Defines

#define NS_ISUPPORTS_IID
#define NS_ISUPPORTS_IID
 IID for the nsISupports interface {00000000-0000-0000-c000-000000000046}.
typedef PRUint32 nsrefcnt
 Reference count values.

Define Documentation

Value:
{ 0x00000000, 0x0000, 0x0000,                                               \
    {0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46} }
Value:
{ 0x00000000, 0x0000, 0x0000,                                               \
    {0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46} }

IID for the nsISupports interface {00000000-0000-0000-c000-000000000046}.

To maintain binary compatibility with COM's IUnknown, we define the IID of nsISupports to be the same as that of COM's IUnknown.

Definition at line 56 of file nsISupportsBase.h.


Typedef Documentation

typedef PRUint32 nsrefcnt

Reference count values.

This is the return type for AddRef() and Release() in nsISupports. IUnknown of COM returns an unsigned long from equivalent functions. The following ifdef exists to maintain binary compatibility with IUnknown.

Definition at line 71 of file nsISupportsBase.h.