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

Function wnd

Telegram/SourceFiles/mainwindow.cpp:792–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790namespace App {
791
792MainWindow *wnd() {
793 return (Core::IsAppLaunched() && Core::App().activePrimaryWindow())
794 ? Core::App().activePrimaryWindow()->widget().get()
795 : nullptr;
796}
797
798} // namespace App

Callers 7

searchByHashtagFunction · 0.85
mainFunction · 0.85
addPinnedMessagesMethod · 0.85
addFirstMessageMethod · 0.85
addViewChannelMethod · 0.85
reqBlockedMethod · 0.85
SetupEnhancedMessagesMethod · 0.85

Calls 5

IsAppLaunchedFunction · 0.85
AppClass · 0.85
activePrimaryWindowMethod · 0.80
getMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected