sbIMediaScan Interface Reference

The engine in which to execute sbIMediaScanQuery objects. More...

import "sbIMediaLibrary.idl";

List of all members.

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.


Detailed Description

The engine in which to execute sbIMediaScanQuery objects.

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.

See also:
sbIMediaScanCallback, sbIMediaScanQuery

Definition at line 655 of file sbIMediaLibrary.idl.


Member Function Documentation

PRInt32 sbIMediaScan::scanDirectory ( in AString  strDirectory,
in PRBool  bRecurse,
in sbIMediaScanCallback  pCallback 
)

Execute a scan directly to a sbIMediaScanCallback instance.

Parameters:
strDirectory The directory to scan
bRecurse Whether or not to recurse
pCallback The callback used to process the scan
See also:
submitQuery

void sbIMediaScan::submitQuery ( in sbIMediaScanQuery  pQuery  ) 

Execute a sbIMediaScanQuery object.

Parameters:
pQuery The query object to execute
See also:
scanDirectory


The documentation for this interface was generated from the following file:
Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7