#include <sbiTunesImporter.h>
Public Types | |
enum | OSType { UNINITIALIZED, MAC_OS, LINUX_OS, WINDOWS_OS, UNKNOWN_OS } |
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBILIBRARYIMPORTER NS_DECL_SBIITUNESXMLPARSERLISTENER | sbiTunesImporter () |
Public Member Functions inherited from sbILibraryImporter | |
void | initialize () |
Initialize the library importer. More... | |
void | finalize () |
Finalize the library importer. More... | |
void | setListener (in sbILibraryImporterListener aListener) |
Set the listener for import events. More... | |
Public Member Functions inherited from sbIiTunesXMLParserListener | |
void | onTopLevelProperties (in sbIStringMap aProperties) |
void | onTrack (in sbIStringMap aProperties) |
void | onTracksComplete () |
void | onPlaylist (in sbIStringMap aProperties, [array, size_is(aTrackIdsCount)] in long aTrackIds, in unsigned long aTrackIdsCount) |
boolean | onError (in AString aErrorMessage) |
void | onPlaylistsComplete () |
void | onProgress (in PRInt64 aBytesRead) |
Additional Inherited Members | |
Public Attributes inherited from sbILibraryImporter | |
readonly attribute AString | libraryType |
readonly attribute AString | libraryReadableType |
readonly attribute AString | libraryDefaultFileName |
readonly attribute AString | libraryDefaultFilePath |
readonly attribute AString | libraryFileExtensionList |
readonly attribute boolean | libraryPreviouslyImported |
readonly attribute AString | libraryPreviousImportPath |
sbIJobProgress | |
Initiate external library importing. More... | |
This class is the main driver of iTunes import. Import is the main entry point. Processing continues after Import returns and driven by the stream pump in sbiTunesXMLParser.
Definition at line 78 of file sbiTunesImporter.h.
Enumerator | |
---|---|
UNINITIALIZED | |
MAC_OS | |
LINUX_OS | |
WINDOWS_OS | |
UNKNOWN_OS |
Definition at line 82 of file sbiTunesImporter.h.
NS_DECL_ISUPPORTS NS_DECL_SBILIBRARYIMPORTER NS_DECL_SBIITUNESXMLPARSERLISTENER sbiTunesImporter::sbiTunesImporter | ( | ) |
Initialize counters and such