Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsIFastLoadService.idl File Reference
import "nsISupports.idl";
import "nsrootidl.idl";
#include "nsCOMPtr.h"
#include "nsIFile.h"
#include "nsIServiceManager.h"

Go to the source code of this file.

Classes

interface  nsIFastLoadFileIO
interface  nsIFastLoadService

Defines

#define NS_FASTLOADSERVICE_CLASSNAME   "Mozilla FastLoad Service"
#define NS_FASTLOADSERVICE_CID   {0xc943093c,0xac94,0x4bee,{0x84,0x0b,0x8b,0x5a,0x6e,0x31,0x4f,0xa7}}
#define NS_FASTLOADSERVICE_CONTRACTID   "@mozilla.org/fast-load-service;1"

Functions

const nsGetServiceByCIDWithError do_GetFastLoadService (nsresult *aResultCode=0)
nsresult NS_AddFastLoadDependency (nsIFile *aFile)

Define Documentation

#define NS_FASTLOADSERVICE_CID   {0xc943093c,0xac94,0x4bee,{0x84,0x0b,0x8b,0x5a,0x6e,0x31,0x4f,0xa7}}

Definition at line 120 of file nsIFastLoadService.idl.

#define NS_FASTLOADSERVICE_CLASSNAME   "Mozilla FastLoad Service"

Definition at line 118 of file nsIFastLoadService.idl.

#define NS_FASTLOADSERVICE_CONTRACTID   "@mozilla.org/fast-load-service;1"

Definition at line 123 of file nsIFastLoadService.idl.


Function Documentation

const nsGetServiceByCIDWithError do_GetFastLoadService ( nsresult aResultCode = 0) [inline]

Definition at line 137 of file nsIFastLoadService.idl.

{
    static NS_DEFINE_CID(kFastLoadServiceCID, NS_FASTLOADSERVICE_CID);
    return nsGetServiceByCIDWithError(kFastLoadServiceCID, aResultCode);
}

Here is the caller graph for this function:

nsresult NS_AddFastLoadDependency ( nsIFile aFile) [inline]

Definition at line 144 of file nsIFastLoadService.idl.

{
    nsCOMPtr<nsIFastLoadService> fastLoadService(do_GetFastLoadService());
    if (fastLoadService) {
        nsresult rv = fastLoadService->AddDependency(aFile);
        if (NS_FAILED(rv) && rv != NS_ERROR_NOT_AVAILABLE)
            return rv;
    }
    return NS_OK;
}

Here is the call graph for this function: