#include <sbiTunesDatabaseServices.h>
Public Member Functions | |
| sbiTunesDatabaseServices () | |
| ~sbiTunesDatabaseServices () | |
| nsresult | Initialize () |
| nsresult | MapID (nsAString const &aiTunesLibID, nsAString const &aiTunesID, nsAString const &aSongbirdID) |
| nsresult | GetSBIDFromITID (nsAString const &aiTunesLibID, nsAString const &aiiTunesID, nsAString &aSongbirdID) |
| nsresult | RemoveSBIDEntry (nsAString const &aSongbirdID) |
This class manages the ID mappings of the iTunes import table in the database
Definition at line 40 of file sbiTunesDatabaseServices.h.
| sbiTunesDatabaseServices::sbiTunesDatabaseServices | ( | ) |
Initializes flags
Definition at line 43 of file sbiTunesDatabaseServices.cpp.
| sbiTunesDatabaseServices::~sbiTunesDatabaseServices | ( | ) |
Definition at line 46 of file sbiTunesDatabaseServices.cpp.
| nsresult sbiTunesDatabaseServices::GetSBIDFromITID | ( | nsAString const & | aiTunesLibID, |
| nsAString const & | aiiTunesID, | ||
| nsAString & | aSongbirdID | ||
| ) |
Returns the Songbird ID given an iTunes ID
| aiTunesLibID | the library ID of the iTunes item |
| aiTunesID | the ID of the iTunes item |
| aSongbirdID | The returned Songbird ID/GUID |
Definition at line 118 of file sbiTunesDatabaseServices.cpp.
| nsresult sbiTunesDatabaseServices::Initialize | ( | ) |
Performs initialization, such as creating the query objects
Definition at line 51 of file sbiTunesDatabaseServices.cpp.
| nsresult sbiTunesDatabaseServices::MapID | ( | nsAString const & | aiTunesLibID, |
| nsAString const & | aiTunesID, | ||
| nsAString const & | aSongbirdID | ||
| ) |
Map and iTunes ID to a Songbird ID
| aiTunesLibID | the library ID of the iTunes item |
| aiTunesID | the ID of the iTunes item |
| aSongbirdID | the songbird ID/guid |
Definition at line 94 of file sbiTunesDatabaseServices.cpp.
| nsresult sbiTunesDatabaseServices::RemoveSBIDEntry | ( | nsAString const & | aSongbirdID | ) |
Returns a given ID mapping based on the Songbird ID
| aSongbirdID | the Songbird ID of the mapping to be removed |
Definition at line 147 of file sbiTunesDatabaseServices.cpp.