Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsGopherHandler.cpp File Reference
#include "nspr.h"
#include "nsGopherChannel.h"
#include "nsGopherHandler.h"
#include "nsIURL.h"
#include "nsCRT.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsIInterfaceRequestor.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIProgressEventSink.h"
#include "nsIStandardURL.h"
#include "nsNetUtil.h"
#include "prlog.h"

Go to the source code of this file.

Functions

static NS_DEFINE_CID (kStandardURLCID, NS_STANDARDURL_CID)
 NS_IMPL_THREADSAFE_ISUPPORTS2 (nsGopherHandler, nsIProxiedProtocolHandler, nsIProtocolHandler) NS_METHOD nsGopherHandler

Function Documentation

static NS_DEFINE_CID ( kStandardURLCID  ,
NS_STANDARDURL_CID   
) [static]

Definition at line 77 of file nsGopherHandler.cpp.

                                                                              {
    nsGopherHandler* gh = new nsGopherHandler();
    if (!gh)
        return NS_ERROR_OUT_OF_MEMORY;
    NS_ADDREF(gh);
    nsresult rv = gh->QueryInterface(aIID, aResult);
    NS_RELEASE(gh);
    return rv;
}

Here is the call graph for this function: