Audacity 3.2.0
AuthorizationHandler.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 AuthorizationHandler.h
7
8 Dmitry Vedenko
9
10**********************************************************************/
11#pragma once
12
13#include "Observer.h"
14
15namespace cloud::audiocom
16{
17struct AuthStateChangedMessage;
18
20{
21public:
23
25 void PopSuppressDialogs();
26
27private:
29
32
33 size_t mSuppressed {};
34}; // class AuthorizationHandler
35
36AuthorizationHandler& GetAuthorizationHandler();
37} // namespace cloud::audiocom
A move-only handle representing a connection to a Publisher.
Definition: Observer.h:70
void OnAuthStateChanged(const AuthStateChangedMessage &message)
Observer::Subscription mAuthStateChangedSubscription
AuthorizationHandler & GetAuthorizationHandler()
Message that is sent when authorization state changes.
Definition: OAuthService.h:26