#include <sbiTunesSignature.h>
Public Member Functions | |
sbiTunesSignature () | |
~sbiTunesSignature () | |
nsresult | Initialize () |
nsresult | Update (nsAString const &aStringData) |
nsresult | GetSignature (nsAString &aSignature) |
nsresult | StoreSignature (nsAString const &aID, nsAString const &aSignature) |
nsresult | RetrieveSignature (nsAString const &aID, nsAString &aSignature) |
This calculates the signature of "things" such as the iTunes database or a playlist. This only runs on the import thread, so we just proxy the converter and db query objects
Definition at line 43 of file sbiTunesSignature.h.
sbiTunesSignature::sbiTunesSignature | ( | ) |
Definition at line 43 of file sbiTunesSignature.cpp.
sbiTunesSignature::~sbiTunesSignature | ( | ) |
Definition at line 44 of file sbiTunesSignature.cpp.
nsresult sbiTunesSignature::GetSignature | ( | nsAString & | aSignature | ) |
Returns the signature
Definition at line 101 of file sbiTunesSignature.cpp.
nsresult sbiTunesSignature::Initialize | ( | ) |
Initializes the converter and database objects
Definition at line 46 of file sbiTunesSignature.cpp.
nsresult sbiTunesSignature::RetrieveSignature | ( | nsAString const & | aID, |
nsAString & | aSignature | ||
) |
Retrieves the signature from the database
Definition at line 149 of file sbiTunesSignature.cpp.
nsresult sbiTunesSignature::StoreSignature | ( | nsAString const & | aID, |
nsAString const & | aSignature | ||
) |
Stores the signature in the database
aSignature | contains the signature being returned |
Definition at line 125 of file sbiTunesSignature.cpp.
nsresult sbiTunesSignature::Update | ( | nsAString const & | aStringData | ) |
Updates the signature with new data
aStringData | the data to update the signature with |
Definition at line 89 of file sbiTunesSignature.cpp.