Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsIXTFService.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

class  nsIXTFService

Defines

#define NS_IXTFSERVICE_IID   { 0x02ad2add, 0xc5ec, 0x4362, { 0xbb, 0x5f, 0xe2, 0xc6, 0x9b, 0xa7, 0x61, 0x51 } }
#define NS_XTFSERVICE_CID   { 0x4ec832da, 0x6ae7, 0x4185, { 0x80, 0x7b, 0xda, 0xdd, 0xcb, 0x5d, 0xa3, 0x7a } }
#define NS_XTFSERVICE_CONTRACTID   "@mozilla.org/xtf/xtf-service;1"

Functions

nsresult NS_NewXTFService (nsIXTFService **aResult)

Define Documentation

#define NS_IXTFSERVICE_IID   { 0x02ad2add, 0xc5ec, 0x4362, { 0xbb, 0x5f, 0xe2, 0xc6, 0x9b, 0xa7, 0x61, 0x51 } }

Definition at line 48 of file nsIXTFService.h.

#define NS_XTFSERVICE_CID   { 0x4ec832da, 0x6ae7, 0x4185, { 0x80, 0x7b, 0xda, 0xdd, 0xcb, 0x5d, 0xa3, 0x7a } }

Definition at line 65 of file nsIXTFService.h.

#define NS_XTFSERVICE_CONTRACTID   "@mozilla.org/xtf/xtf-service;1"

Definition at line 68 of file nsIXTFService.h.


Function Documentation

Definition at line 90 of file nsXTFService.cpp.

{
  NS_PRECONDITION(aResult != nsnull, "null ptr");
  if (! aResult)
    return NS_ERROR_NULL_POINTER;

  nsXTFService* result = new nsXTFService();
  if (! result)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(result);
  *aResult = result;
  return NS_OK;
}

Here is the call graph for this function: