Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsIXULSortService.idl File Reference
import "nsISupports.idl";
import "nsIRDFCompositeDataSource.idl";
import "nsIRDFResource.idl";

Go to the source code of this file.

Classes

interface  nsIXULSortService
 A service used to sort the contents of a XUL widget. More...

Functions

native nsRDFSortState (nsRDFSortState)
nsresult NS_NewXULSortService (nsIXULSortService **result)

Function Documentation

Definition at line 1679 of file nsXULSortService.cpp.

{
  XULSortServiceImpl *sortService = new XULSortServiceImpl();
  if (!sortService)
    return NS_ERROR_OUT_OF_MEMORY;

  *mgr = sortService;
  NS_ADDREF(*mgr);

  return NS_OK;
}

Here is the call graph for this function: