Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsRobotSink.cpp File Reference
#include "nsIRobotSink.h"
#include "nsIRobotSinkObserver.h"
#include "nsIParserNode.h"
#include "nsIParser.h"
#include "nsString.h"
#include "nsReadableUtils.h"
#include "nsUnicharUtils.h"
#include "nsIURL.h"
#include "nsIServiceManager.h"
#include "nsIIOService.h"
#include "nsNetCID.h"
#include "nsCRT.h"
#include "nsVoidArray.h"

Go to the source code of this file.

Classes

class  RobotSink

Functions

static NS_DEFINE_CID (kIOServiceCID, NS_IOSERVICE_CID)
static NS_DEFINE_IID (kISupportsIID, NS_ISUPPORTS_IID)
static NS_DEFINE_IID (kIHTMLContentSinkIID, NS_IHTML_CONTENT_SINK_IID)
static NS_DEFINE_IID (kIRobotSinkIID, NS_IROBOTSINK_IID)
nsresult NS_NewRobotSink (nsIRobotSink **aInstancePtrResult)

Function Documentation

static NS_DEFINE_CID ( kIOServiceCID  ,
NS_IOSERVICE_CID   
) [static]
static NS_DEFINE_IID ( kISupportsIID  ,
NS_ISUPPORTS_IID   
) [static]
static NS_DEFINE_IID ( kIHTMLContentSinkIID  ,
NS_IHTML_CONTENT_SINK_IID   
) [static]
static NS_DEFINE_IID ( kIRobotSinkIID  ,
NS_IROBOTSINK_IID   
) [static]
nsresult NS_NewRobotSink ( nsIRobotSink **  aInstancePtrResult)

Definition at line 131 of file nsRobotSink.cpp.

{
  RobotSink* it = new RobotSink();
  if(it)
    return it->QueryInterface(kIRobotSinkIID, (void**) aInstancePtrResult);
  return NS_OK;
}

Here is the caller graph for this function: