MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / controller

Method controller

Telegram/SourceFiles/settings/settings_builder.cpp:447–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447Window::SessionController *SectionBuilder::controller() const {
448 return v::match(_context, [](const WidgetContext &ctx) {
449 return ctx.controller.get();
450 }, [](const SearchContext &) -> Window::SessionController* {
451 return nullptr;
452 });
453}
454
455not_null<Main::Session*> SectionBuilder::session() const {
456 return v::match(_context, [](const WidgetContext &ctx) {

Callers 15

addPrivacyButtonMethod · 0.95
BuildPasskeysSectionFunction · 0.45
BuildDataStorageSectionFunction · 0.45
BuildAutoDownloadSectionFunction · 0.45
BuildANGLEOptionFunction · 0.45
BuildOpenGLOptionFunction · 0.45
BuildPerformanceSectionFunction · 0.45
BuildSpellcheckerSectionFunction · 0.45
BuildExportSectionFunction · 0.45
BuildSponsoredSectionFunction · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected