Audacity 3.2.0
Functions | Variables
cloud::audiocom::anonymous_namespace{UserService.cpp} Namespace Reference

Functions

wxString MakeAvatarPath ()
 

Variables

StringSetting userName { L"/cloud/audiocom/userName", "" }
 
StringSetting displayName { L"/cloud/audiocom/displayName", "" }
 
StringSetting avatarEtag { L"/cloud/audiocom/avatarEtag", "" }
 
Observer::Subscription authStateChangedSubscription
 

Function Documentation

◆ MakeAvatarPath()

wxString cloud::audiocom::anonymous_namespace{UserService.cpp}::MakeAvatarPath ( )

Definition at line 39 of file UserService.cpp.

40{
41 const wxFileName avatarFileName(FileNames::ConfigDir(), "avatar");
42 return avatarFileName.GetFullPath();
43}
FILES_API FilePath ConfigDir()
Audacity user config directory.

References FileNames::ConfigDir().

Referenced by cloud::audiocom::UserService::DownloadAvatar(), and cloud::audiocom::UserService::GetAvatarPath().

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

Variable Documentation

◆ authStateChangedSubscription

Observer::Subscription cloud::audiocom::anonymous_namespace{UserService.cpp}::authStateChangedSubscription
Initial value:
=
[](const auto& state)
{
if (state.authorised)
GetUserService().UpdateUserData();
else
})
Subscription Subscribe(Callback callback)
Connect a callback to the Publisher; later-connected are called earlier.
Definition: Observer.h:199
void ClearUserData()
Reset the user profile data.
OAuthService & GetOAuthService()
Returns the instance of the OAuthService.
UserService & GetUserService()

Definition at line 49 of file UserService.cpp.

◆ avatarEtag

StringSetting cloud::audiocom::anonymous_namespace{UserService.cpp}::avatarEtag { L"/cloud/audiocom/avatarEtag", "" }

◆ displayName

StringSetting cloud::audiocom::anonymous_namespace{UserService.cpp}::displayName { L"/cloud/audiocom/displayName", "" }

◆ userName

StringSetting cloud::audiocom::anonymous_namespace{UserService.cpp}::userName { L"/cloud/audiocom/userName", "" }