2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Proof-of-concept (WebView2 / Local) iv.

This commit is contained in:
John Preston
2023-08-24 18:04:32 +02:00
parent 672ad64e53
commit 125f856e67
25 changed files with 3164 additions and 4 deletions

View File

@@ -45,6 +45,10 @@ class Account;
class Session;
} // namespace Main
namespace Iv {
class Instance;
} // namespace Iv
namespace Ui {
namespace Animations {
class Manager;
@@ -280,6 +284,11 @@ public:
return *_calls;
}
// Iv.
Iv::Instance &iv() const {
return *_iv;
}
void logout(Main::Account *account = nullptr);
void logoutWithChecks(Main::Account *account);
void forceLogOut(
@@ -409,6 +418,7 @@ private:
const std::unique_ptr<Main::Domain> _domain;
const std::unique_ptr<Export::Manager> _exportManager;
const std::unique_ptr<Calls::Instance> _calls;
const std::unique_ptr<Iv::Instance> _iv;
base::flat_map<
Main::Account*,
std::unique_ptr<Window::Controller>> _primaryWindows;