import "sbIFileScan.idl";
Public Member Functions | |
void | submitQuery (in sbIFileScanQuery pQuery) |
Execute a sbIFileScanQuery object. | |
PRInt32 | scanDirectory (in AString strDirectory, in PRBool bRecurse, in sbIFileScanCallback pCallback) |
Execute a scan directly to a sbIFileScanCallback instance. |
Create a sbIFileScanQuery object, fill out its methods, create one of these and pass the query to the scanner to begin executing.
Optionally, you may skip the use of a sbIFileScanQuery object and just handle the scan directly by calling scanDirectory() with your own sbIFileScanCallback object.
Definition at line 265 of file sbIFileScan.idl.
void sbIFileScan::submitQuery | ( | in sbIFileScanQuery | pQuery | ) |
Execute a sbIFileScanQuery object.
pQuery | The query object to execute |
PRInt32 sbIFileScan::scanDirectory | ( | in AString | strDirectory, | |
in PRBool | bRecurse, | |||
in sbIFileScanCallback | pCallback | |||
) |
Execute a scan directly to a sbIFileScanCallback instance.
strDirectory | The directory to scan | |
bRecurse | Whether or not to recurse | |
pCallback | The callback used to process the scan |