import "sbIMediaLibrary.idl";
Public Member Functions | |
| void | submitQuery (in sbIMediaScanQuery pQuery) |
| Execute a sbIMediaScanQuery object. | |
| PRInt32 | scanDirectory (in AString strDirectory, in PRBool bRecurse, in sbIMediaScanCallback pCallback) |
| Execute a scan directly to a sbIMediaScanCallback instance. | |
Create a sbIMediaScanQuery 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 sbIMediaScanQuery object and just handle the scan directly by calling scanDirectory() with your own sbIMediaScanCallback object.
Definition at line 655 of file sbIMediaLibrary.idl.
| PRInt32 sbIMediaScan::scanDirectory | ( | in AString | strDirectory, | |
| in PRBool | bRecurse, | |||
| in sbIMediaScanCallback | pCallback | |||
| ) |
Execute a scan directly to a sbIMediaScanCallback instance.
| strDirectory | The directory to scan | |
| bRecurse | Whether or not to recurse | |
| pCallback | The callback used to process the scan |
| void sbIMediaScan::submitQuery | ( | in sbIMediaScanQuery | pQuery | ) |
Execute a sbIMediaScanQuery object.
| pQuery | The query object to execute |
1.4.7