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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user