#include <sfdb_freesound_mootcher.h>
Definition at line 71 of file sfdb_freesound_mootcher.h.
◆ Mootcher()
| Mootcher::Mootcher |
( |
const std::string & |
token | ) |
|
◆ ~Mootcher()
◆ auth_code_to_oauth_token()
| std::string Mootcher::auth_code_to_oauth_token |
( |
const std::string & |
auth_code | ) |
|
|
private |
◆ cancelDownload()
| void Mootcher::cancelDownload |
( |
| ) |
|
|
inlineprivate |
◆ checkAudioFile()
| bool Mootcher::checkAudioFile |
( |
std::string |
originalFileName, |
|
|
std::string |
ID |
|
) |
| |
◆ doneWithMootcher()
| void Mootcher::doneWithMootcher |
( |
| ) |
|
|
private |
◆ doRequest()
| std::string Mootcher::doRequest |
( |
std::string |
uri, |
|
|
std::string |
params |
|
) |
| |
|
private |
◆ ensureWorkingDir()
| void Mootcher::ensureWorkingDir |
( |
| ) |
|
|
private |
◆ fetchAudioFile()
| bool Mootcher::fetchAudioFile |
( |
std::string |
originalFileName, |
|
|
std::string |
ID, |
|
|
std::string |
audioURL, |
|
|
SoundFileBrowser * |
caller, |
|
|
std::string & |
token |
|
) |
| |
◆ get_oauth_token()
| bool Mootcher::get_oauth_token |
( |
| ) |
|
|
private |
◆ getSoundResourceFile()
| std::string Mootcher::getSoundResourceFile |
( |
std::string |
ID | ) |
|
|
private |
◆ progress_callback()
| static int Mootcher::progress_callback |
( |
void * |
clientp, |
|
|
double |
dltotal, |
|
|
double |
dlnow, |
|
|
double |
ultotal, |
|
|
double |
ulnow |
|
) |
| |
|
staticprivate |
◆ report_login_error()
| void Mootcher::report_login_error |
( |
const std::string & |
msg | ) |
|
|
private |
◆ searchSimilar()
| std::string Mootcher::searchSimilar |
( |
std::string |
id | ) |
|
◆ searchText()
| std::string Mootcher::searchText |
( |
std::string |
query, |
|
|
int |
page, |
|
|
std::string |
filter, |
|
|
enum sortMethod |
sort |
|
) |
| |
◆ setcUrlOptions()
| void Mootcher::setcUrlOptions |
( |
| ) |
|
|
private |
◆ sortMethodString()
| std::string Mootcher::sortMethodString |
( |
enum sortMethod |
sort | ) |
|
|
private |
◆ threadFunc()
| void* Mootcher::threadFunc |
( |
| ) |
|
◆ updateProgress()
| void Mootcher::updateProgress |
( |
double |
dlnow, |
|
|
double |
dltotal |
|
) |
| |
|
private |
◆ WriteMemoryCallback()
| static size_t Mootcher::WriteMemoryCallback |
( |
void * |
ptr, |
|
|
size_t |
size, |
|
|
size_t |
nmemb, |
|
|
void * |
data |
|
) |
| |
|
staticprivate |
◆ audioFileName
| std::string Mootcher::audioFileName |
◆ basePath
| std::string Mootcher::basePath |
|
private |
◆ cancel_download
| bool Mootcher::cancel_download |
|
private |
◆ cancel_download_btn
◆ ccurl
◆ custom_headers
| struct curl_slist* Mootcher::custom_headers |
|
private |
◆ errorBuffer
| char Mootcher::errorBuffer[CURL_ERROR_SIZE] |
|
private |
◆ Finished
◆ ID
◆ oauth_token
| std::string Mootcher::oauth_token |
|
private |
◆ Progress
signal emitted when mootcher reports progress updates during download. The parameters are current and total numbers of bytes downloaded.
Definition at line 89 of file sfdb_freesound_mootcher.h.
◆ progress_bar
◆ progress_hbox
◆ sfb
◆ theFile
◆ xmlLocation
| std::string Mootcher::xmlLocation |
|
private |
The documentation for this class was generated from the following file: