Public Member Functions | Public Attributes

nsIAbDirectoryQueryResultListener Interface Reference

import "nsIAbDirectoryQuery.idl";

List of all members.

Public Member Functions

void onQueryFoundCard (in nsIAbCard aCard)
 Called when a match is found.
void onQueryResult (in long aResult, in long aErrorCode)
 Called when a query has finished.

Public Attributes

const long queryResultMatch = 0
 List of defined query results.
const long queryResultComplete = 1
const long queryResultStopped = 2
const long queryResultError = 3

Member Function Documentation

void nsIAbDirectoryQueryResultListener::onQueryFoundCard ( in nsIAbCard  aCard  ) 

Called when a match is found.

May be called from a different thread to the one that initiates the query.

Parameters:
aCard An individual result associated returned from a query
void nsIAbDirectoryQueryResultListener::onQueryResult ( in long  aResult,
in long  aErrorCode 
)

Called when a query has finished.

May be called from a different thread to the one that initiates the query.

Parameters:
aResult A result code from the list above.
aErrorCode An error code specific to the type of query.

Member Data Documentation

List of defined query results.


The documentation for this interface was generated from the following file: