Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsILoggingSink.h File Reference
#include "nsIHTMLContentSink.h"
#include "nsString.h"
#include "prprf.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsILoggingSink

Defines

#define NS_ILOGGING_SINK_IID   {0xa6cf9061, 0x15b3, 0x11d2,{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}}

Functions

nsresult NS_NewHTMLLoggingSink (nsIContentSink **aInstancePtrResult)

Define Documentation

#define NS_ILOGGING_SINK_IID   {0xa6cf9061, 0x15b3, 0x11d2,{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}}

Definition at line 45 of file nsILoggingSink.h.


Function Documentation

nsresult NS_NewHTMLLoggingSink ( nsIContentSink **  aInstancePtrResult)

Definition at line 61 of file nsLoggingSink.cpp.

{
  NS_PRECONDITION(nsnull != aInstancePtrResult, "null ptr");
  if (nsnull == aInstancePtrResult) {
    return NS_ERROR_NULL_POINTER;
  }
  nsLoggingSink* it = new nsLoggingSink();
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  return it->QueryInterface(kIContentSinkIID, (void**) aInstancePtrResult);
}