Back to index

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

Go to the source code of this file.

Classes

struct  InterfaceInfo
class  SupportsMixin

Defines

#define DECL_SUPPORTS_MIXIN
#define INTERFACE_OFFSET(leafType, interfaceType)   UInt32((interfaceType*) ((leafType*)0))

Class Documentation

struct InterfaceInfo

Definition at line 103 of file Tests.cpp.

Collaboration diagram for InterfaceInfo:
Class Members
nsID mIID
UInt32 mOffset
const IID * piid
const TCHAR * szName

Define Documentation

Value:
NS_IMETHOD QueryInterface(REFNSIID aIID, void** aInstancePtr) { return queryInterface(aIID, aInstancePtr); } \
       NS_IMETHOD_(nsrefcnt) AddRef(void) { return addRef(); } \
       NS_IMETHOD_(nsrefcnt) Release(void) { return release(); }

Definition at line 113 of file SupportsMixin.h.

#define INTERFACE_OFFSET (   leafType,
  interfaceType 
)    UInt32((interfaceType*) ((leafType*)0))

Definition at line 120 of file SupportsMixin.h.