sbILibraryImporterListener Interface Reference

Interface for listening to library importer events. More...

import"sbILibraryImporter.idl";

Inheritance diagram for sbILibraryImporterListener:
[legend]
Collaboration diagram for sbILibraryImporterListener:
[legend]

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...
 

Detailed Description

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.

Member Function Documentation

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.

Parameters
aPlaylistNameName of dirty playlist.
aApplyAllApply action to all playlists.
Returns
Import action.
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.

Parameters
aLibFilePathFile path to external library that changed.
aGUIDGUID 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.

Parameters
aNonExistentMediaCountCount of the number of non-existent track media files.
aTrackCountCount 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.


The documentation for this interface was generated from the following file: