Interface for listening to library importer events. More...
import"sbILibraryImporter.idl";
Public Member Functions | |
void | onLibraryChanged (in AString aLibFilePath, in AString aGUID) |
Handle library changed events. These events occur when the contents of the import library change. More... | |
void | onImportError () |
Handle library import error events. These events occur whenever an error is encountered while importing a library. More... | |
void | onNonExistentMedia (in unsigned long aNonExistentMediaCount, in unsigned long aTrackCount) |
Handle non-existent media events. These events occur whenever the media file for an imported track does not exist. More... | |
void | onUnsupportedMedia () |
Handle unsupported media events. These events occur whenever an attempt is made to import media that is not supported by Songbird. More... | |
AString | onDirtyPlaylist (in AString aPlaylistName, out boolean aApplyAll) |
Handle dirty playlist events. These events occur when an imported library playlist has been modified in Songbird. This method returns the action to take, "keep" to keep the Songbird playlist unmodified, "merge" to merge the import library playlist into the Songbird playlist, and "replace" to replace the Songbird playlist. This method also returns whether to apply the action to all dirty playlists. More... | |
Interface for listening to library importer events.
Implementors of this interface can listen to library importer events.
Definition at line 48 of file sbILibraryImporter.idl.
AString sbILibraryImporterListener::onDirtyPlaylist | ( | in AString | aPlaylistName, |
out boolean | aApplyAll | ||
) |
Handle dirty playlist events. These events occur when an imported library playlist has been modified in Songbird. This method returns the action to take, "keep" to keep the Songbird playlist unmodified, "merge" to merge the import library playlist into the Songbird playlist, and "replace" to replace the Songbird playlist. This method also returns whether to apply the action to all dirty playlists.
aPlaylistName | Name of dirty playlist. |
aApplyAll | Apply action to all playlists. |
void sbILibraryImporterListener::onImportError | ( | ) |
Handle library import error events. These events occur whenever an error is encountered while importing a library.
void sbILibraryImporterListener::onLibraryChanged | ( | in AString | aLibFilePath, |
in AString | aGUID | ||
) |
Handle library changed events. These events occur when the contents of the import library change.
aLibFilePath | File path to external library that changed. |
aGUID | GUID of Songbird library into which external library was imported. |
void sbILibraryImporterListener::onNonExistentMedia | ( | in unsigned long | aNonExistentMediaCount, |
in unsigned long | aTrackCount | ||
) |
Handle non-existent media events. These events occur whenever the media file for an imported track does not exist.
aNonExistentMediaCount | Count of the number of non-existent track media files. |
aTrackCount | Count of the number of tracks. |
void sbILibraryImporterListener::onUnsupportedMedia | ( | ) |
Handle unsupported media events. These events occur whenever an attempt is made to import media that is not supported by Songbird.