sbiTunesSignature Class Reference

#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)
 

Detailed Description

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.

Constructor & Destructor Documentation

sbiTunesSignature::sbiTunesSignature ( )

Definition at line 43 of file sbiTunesSignature.cpp.

sbiTunesSignature::~sbiTunesSignature ( )

Definition at line 44 of file sbiTunesSignature.cpp.

Member Function Documentation

nsresult sbiTunesSignature::GetSignature ( nsAString &  aSignature)

Returns the signature

Definition at line 101 of file sbiTunesSignature.cpp.

Here is the caller graph for this function:

nsresult sbiTunesSignature::Initialize ( )

Initializes the converter and database objects

Definition at line 46 of file sbiTunesSignature.cpp.

Here is the caller graph for this function:

nsresult sbiTunesSignature::RetrieveSignature ( nsAString const &  aID,
nsAString &  aSignature 
)

Retrieves the signature from the database

Definition at line 149 of file sbiTunesSignature.cpp.

Here is the caller graph for this function:

nsresult sbiTunesSignature::StoreSignature ( nsAString const &  aID,
nsAString const &  aSignature 
)

Stores the signature in the database

Parameters
aSignaturecontains the signature being returned

Definition at line 125 of file sbiTunesSignature.cpp.

Here is the caller graph for this function:

nsresult sbiTunesSignature::Update ( nsAString const &  aStringData)

Updates the signature with new data

Parameters
aStringDatathe data to update the signature with

Definition at line 89 of file sbiTunesSignature.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: