Ardour  9.0-pre0-582-g084a23a80d
SoundcloudUploader Class Reference

#include <soundcloud_upload.h>

Public Member Functions

 SoundcloudUploader ()
 
 ~SoundcloudUploader ()
 
std::string Get_Auth_Token (std::string username, std::string password)
 
std::string Upload (std::string file_path, std::string title, std::string token, bool ispublic, bool downloadable, ARDOUR::ExportHandler *caller)
 

Static Public Member Functions

static int progress_callback (void *caller, double dltotal, double dlnow, double ultotal, double ulnow)
 

Private Member Functions

void setcUrlOptions ()
 

Private Attributes

CURL * curl_handle
 
CURLM * multi_handle
 
char errorBuffer [CURL_ERROR_SIZE]
 
std::string title
 
ARDOUR::ExportHandlercaller
 

Detailed Description

Definition at line 28 of file soundcloud_upload.h.

Constructor & Destructor Documentation

◆ SoundcloudUploader()

SoundcloudUploader::SoundcloudUploader ( )

◆ ~SoundcloudUploader()

SoundcloudUploader::~SoundcloudUploader ( )

Member Function Documentation

◆ Get_Auth_Token()

std::string SoundcloudUploader::Get_Auth_Token ( std::string  username,
std::string  password 
)

◆ progress_callback()

static int SoundcloudUploader::progress_callback ( void *  caller,
double  dltotal,
double  dlnow,
double  ultotal,
double  ulnow 
)
static

◆ setcUrlOptions()

void SoundcloudUploader::setcUrlOptions ( )
private

◆ Upload()

std::string SoundcloudUploader::Upload ( std::string  file_path,
std::string  title,
std::string  token,
bool  ispublic,
bool  downloadable,
ARDOUR::ExportHandler caller 
)

Member Data Documentation

◆ caller

ARDOUR::ExportHandler* SoundcloudUploader::caller
private

Definition at line 48 of file soundcloud_upload.h.

◆ curl_handle

CURL* SoundcloudUploader::curl_handle
private

Definition at line 43 of file soundcloud_upload.h.

◆ errorBuffer

char SoundcloudUploader::errorBuffer[CURL_ERROR_SIZE]
private

Definition at line 45 of file soundcloud_upload.h.

◆ multi_handle

CURLM* SoundcloudUploader::multi_handle
private

Definition at line 44 of file soundcloud_upload.h.

◆ title

std::string SoundcloudUploader::title
private

Definition at line 47 of file soundcloud_upload.h.


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