Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
nsAbDirectoryQueryProxy Class Reference

#include <nsAbDirectoryQueryProxy.h>

Inheritance diagram for nsAbDirectoryQueryProxy:
Inheritance graph
[legend]
Collaboration diagram for nsAbDirectoryQueryProxy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIABDIRECTORYQUERYPROXY 
nsAbDirectoryQueryProxy ()
virtual ~nsAbDirectoryQueryProxy ()
void initiate (in nsIAbDirectory directory)
long doQuery (in nsIAbDirectoryQueryArguments arguments, in nsIAbDirectoryQueryResultListener listener, in long resultLimit, in long timeOut)
 Initiates a query on a directory and sub-directories for properties on cards.
void stopQuery (in long contextID)
 Stops an existing query operation if query operation is asynchronous.

Protected Attributes

PRBool mInitiated
nsCOMPtr< nsIAbDirectoryQuerymDirectoryQuery

Detailed Description

Definition at line 45 of file nsAbDirectoryQueryProxy.h.


Constructor & Destructor Documentation

Definition at line 44 of file nsAbDirectoryQueryProxy.cpp.

Definition at line 49 of file nsAbDirectoryQueryProxy.cpp.

{
}

Member Function Documentation

long nsIAbDirectoryQuery::doQuery ( in nsIAbDirectoryQueryArguments  arguments,
in nsIAbDirectoryQueryResultListener  listener,
in long  resultLimit,
in long  timeOut 
) [inherited]

Initiates a query on a directory and sub-directories for properties on cards.

Parameters:
argumentsThe properties and values to match Value could of type nsIAbDirectoryQueryMatchItem for matches other than ?contains?
listenerThe listener which will obtain individual query results
resultLimitLimits the results returned to a specifed maximum value
Returns:
Unique number representing the context ID of the query
void nsIAbDirectoryQuery::stopQuery ( in long  contextID) [inherited]

Stops an existing query operation if query operation is asynchronous.

The nsIAbDirectoryQueryResultListener will be notified when query has stopped

It is implementation specific if notification synchronous or asynchronous

Parameters:
contextIDThe unique number returned from the doQuery methods

Member Data Documentation

Definition at line 57 of file nsAbDirectoryQueryProxy.h.

Definition at line 56 of file nsAbDirectoryQueryProxy.h.


The documentation for this class was generated from the following files: