Audacity 3.2.0
Namespaces | Classes | Functions
cloud::audiocom Namespace Reference

Namespaces

namespace  anonymous_namespace{AuthorizationHandler.cpp}
 
namespace  anonymous_namespace{OAuthService.cpp}
 
namespace  anonymous_namespace{ServiceConfig.cpp}
 
namespace  anonymous_namespace{ShareAudioDialog.cpp}
 
namespace  anonymous_namespace{UploadService.cpp}
 
namespace  anonymous_namespace{UserService.cpp}
 

Classes

class  AuthorizationHandler
 
struct  AuthStateChangedMessage
 Message that is sent when authorization state changes. More...
 
class  LinkAccountDialog
 
class  LinkFailedDialog
 
class  LinkSucceededDialog
 
class  OAuthService
 Service responsible for OAuth authentication against the audio.com service. More...
 
class  ServiceConfig
 Configuration for the audio.com. More...
 
class  ShareAudioDialog
 
struct  UploadFailedPayload
 This structure represents an upload error as returned by the server. More...
 
class  UploadOperation
 Class used to track the upload operation. More...
 
struct  UploadOperationCompleted
 
class  UploadOperationHandle
 A unique_ptr like class that holds a pointer to UploadOperation. More...
 
class  UploadService
 Service, responsible for uploading audio files to audio.com. More...
 
struct  UploadSuccessfulPayload
 This structure represents the payload associated with successful upload. More...
 
struct  UserDataChanged
 
class  UserImage
 
class  UserService
 Service for providing information about the user profile. More...
 

Functions

AuthorizationHandlerGetAuthorizationHandler ()
 
OAuthServiceGetOAuthService ()
 Returns the instance of the OAuthService. More...
 
const ServiceConfigGetServiceConfig ()
 Returns the instance of the ServiceConfig. More...
 
wxString GetUploadTempPath ()
 
UserServiceGetUserService ()
 

Detailed Description


Audacity: A Digital Audio Editor

AuthorizationHandler.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

AuthorizationHandler.h

Dmitry Vedenko


Audacity: A Digital Audio Editor

LinkAccountDialog.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

LinkFailedDialog.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

LinkFailedDialog.h

Dmitry Vedenko


Audacity: A Digital Audio Editor

LinkSucceededDialog.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

LinkSucceededDialog.h

Dmitry Vedenko


Audacity: A Digital Audio Editor

ShareAudioDialog.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

UserImage.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

UserImage.h

Dmitry Vedenko


Audacity: A Digital Audio Editor

OAuthService.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

OAuthService.h

Dmitry Vedenko


Audacity: A Digital Audio Editor

ServiceConfig.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

ServiceConfig.h

Dmitry Vedenko


Audacity: A Digital Audio Editor

UploadService.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

UploadService.h

Dmitry Vedenko


Audacity: A Digital Audio Editor

UserService.cpp

Dmitry Vedenko


Audacity: A Digital Audio Editor

UserService.h

Dmitry Vedenko

Function Documentation

◆ GetAuthorizationHandler()

AuthorizationHandler & cloud::audiocom::GetAuthorizationHandler ( )

Definition at line 27 of file AuthorizationHandler.cpp.

References cloud::audiocom::anonymous_namespace{AuthorizationHandler.cpp}::handler.

Referenced by cloud::audiocom::LinkAccountDialog::~LinkAccountDialog(), and cloud::audiocom::ShareAudioDialog::~ShareAudioDialog().

Here is the caller graph for this function:

◆ GetOAuthService()

CLOUD_AUDIOCOM_API OAuthService & cloud::audiocom::GetOAuthService ( )

Returns the instance of the OAuthService.

Definition at line 383 of file OAuthService.cpp.

384{
385 static OAuthService service;
386 return service;
387}
Service responsible for OAuth authentication against the audio.com service.
Definition: OAuthService.h:38

Referenced by cloud::audiocom::LinkAccountDialog::OnContinue(), cloud::audiocom::ShareAudioDialog::InitialStatePanel::OnLinkButtonPressed(), cloud::audiocom::UserService::UpdateUserData(), and cloud::audiocom::ShareAudioDialog::InitialStatePanel::UpdateUserData().

Here is the caller graph for this function:

◆ GetServiceConfig()

CLOUD_AUDIOCOM_API const ServiceConfig & cloud::audiocom::GetServiceConfig ( )

◆ GetUploadTempPath()

CLOUD_AUDIOCOM_API wxString cloud::audiocom::GetUploadTempPath ( )

Definition at line 620 of file UploadService.cpp.

621{
622 const auto tempPath = TempDirectory::DefaultTempDir();
623
624 if (!wxDirExists(tempPath))
625 {
626 // Temp directory was not created yet.
627 // Is it a first run of Audacity?
628 // In any case, let's wait for some better time
629 return {};
630 }
631
633 tempPath, XO("Cannot proceed to upload.")))
634 return {};
635
636 return tempPath + "/cloud/";
637}
XO("Cut/Copy/Paste")
FILES_API bool WritableLocationCheck(const FilePath &path, const TranslatableString &message)
Check location on writable access and return true if checked successfully.
FILES_API const FilePath & DefaultTempDir()

References TempDirectory::DefaultTempDir(), FileNames::WritableLocationCheck(), and XO().

Referenced by cloud::audiocom::anonymous_namespace{ShareAudioDialog.cpp}::GenerateTempPath().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetUserService()

CLOUD_AUDIOCOM_API UserService & cloud::audiocom::GetUserService ( )

Definition at line 139 of file UserService.cpp.

140{
141 static UserService userService;
142 return userService;
143}
Service for providing information about the user profile.
Definition: UserService.h:28

Referenced by cloud::audiocom::ShareAudioDialog::InitialStatePanel::UpdateUserData().

Here is the caller graph for this function: