mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Start passport support: handle link, receive form.
This commit is contained in:
@@ -21,6 +21,11 @@ class RoundController;
|
||||
} // namespace Player
|
||||
} // namespace Media
|
||||
|
||||
namespace Passport {
|
||||
struct FormRequest;
|
||||
class FormController;
|
||||
} // namespace Passport
|
||||
|
||||
namespace Window {
|
||||
|
||||
class LayerWidget;
|
||||
@@ -200,6 +205,8 @@ public:
|
||||
Dialogs::Key chat,
|
||||
QDate requestedDate);
|
||||
|
||||
void showAuthForm(const Passport::FormRequest &request);
|
||||
|
||||
base::Variable<bool> &dialogsListFocused() {
|
||||
return _dialogsListFocused;
|
||||
}
|
||||
@@ -246,6 +253,8 @@ private:
|
||||
|
||||
not_null<MainWindow*> _window;
|
||||
|
||||
std::unique_ptr<Passport::FormController> _authForm;
|
||||
|
||||
GifPauseReasons _gifPauseReasons = 0;
|
||||
base::Observable<void> _gifPauseLevelChanged;
|
||||
base::Observable<void> _floatPlayerAreaUpdated;
|
||||
|
Reference in New Issue
Block a user