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

Functions

wxString MakeAvatarPath ()
 

Variables

StringSetting userId { L"/cloud/audiocom/userId", "" }
 
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 audacity::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 audacity::cloud::audiocom::UserService::DownloadAvatar(), and audacity::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 audacity::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.
UserService & GetUserService()
OAuthService & GetOAuthService()
Returns the instance of the OAuthService.

Definition at line 50 of file UserService.cpp.

◆ avatarEtag

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

◆ displayName

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

◆ userId

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

◆ userName

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