#include <itunesdbdatasource.h>
Public Member Functions | |
virtual void | writeInit ()=0 |
virtual void | writeFinished ()=0 |
virtual Q_UINT32 | getNumPlaylists ()=0 |
virtual Q_UINT32 | getNumTracks ()=0 |
virtual TrackPtrList & | getTrackList ()=0 |
virtual Playlist * | firstPlaylist ()=0 |
virtual Playlist * | nextPlaylist ()=0 |
virtual void | handleError (const QString &message)=0 |
virtual const QString & | getTitle ()=0 |
virtual void itunesdb::ItunesDBDataSource::writeInit | ( | ) | [pure virtual] |
called when the ItunesDBWriter starts to write
virtual void itunesdb::ItunesDBDataSource::writeFinished | ( | ) | [pure virtual] |
called when the ItunesDBWriter is done writing the database
virtual Q_UINT32 itunesdb::ItunesDBDataSource::getNumPlaylists | ( | ) | [pure virtual] |
returns the number of playlists that need to be written
virtual Q_UINT32 itunesdb::ItunesDBDataSource::getNumTracks | ( | ) | [pure virtual] |
returns the number of tracks that need to be written
virtual TrackPtrList& itunesdb::ItunesDBDataSource::getTrackList | ( | ) | [pure virtual] |
Returns a list with all the tracks
virtual Playlist* itunesdb::ItunesDBDataSource::firstPlaylist | ( | ) | [pure virtual] |
returns the first playlist and sets the playlist position for nextPlaylist() to the first playlist
virtual Playlist* itunesdb::ItunesDBDataSource::nextPlaylist | ( | ) | [pure virtual] |
returns the next playlist (see firstPlaylist())
virtual void itunesdb::ItunesDBDataSource::handleError | ( | const QString & | message | ) | [pure virtual] |
gets called if an error occured during the write process. The write process ends after a call to this method.
virtual const QString& itunesdb::ItunesDBDataSource::getTitle | ( | ) | [pure virtual] |
Returns the title of the master Playlist (thus the title of the iPod)