27 #ifndef ITUNESDATABASESERVICES_H_
28 #define ITUNESDATABASESERVICES_H_
30 #include <nsStringAPI.h>
59 nsresult
MapID(nsAString
const & aiTunesLibID,
60 nsAString
const & aiTunesID,
61 nsAString
const & aSongbirdID);
69 nsAString
const & aiiTunesID,
70 nsAString & aSongbirdID);
77 typedef nsCOMPtr<sbIDatabasePreparedStatement> PreparedStatementPtr;
87 PreparedStatementPtr mInsertMapID;
92 PreparedStatementPtr mSelectMapID;
97 PreparedStatementPtr mDeleteMapID;
102 PRBool mResetPending;
nsresult RemoveSBIDEntry(nsAString const &aSongbirdID)
nsresult GetSBIDFromITID(nsAString const &aiTunesLibID, nsAString const &aiiTunesID, nsAString &aSongbirdID)
sbiTunesDatabaseServices()
nsCOMPtr< sbIDatabaseQuery > sbIDatabaseQueryPtr
~sbiTunesDatabaseServices()
nsresult MapID(nsAString const &aiTunesLibID, nsAString const &aiTunesID, nsAString const &aSongbirdID)
A prepared database statement.