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

Method state

Telegram/SourceFiles/core/update_checker.cpp:1436–1443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1434}
1435
1436auto Updater::state() const -> State {
1437 if (_action == Action::Ready) {
1438 return State::Ready;
1439 } else if (_action == Action::Loading) {
1440 return State::Download;
1441 }
1442 return State::None;
1443}
1444
1445int Updater::size() const {
1446 return _activeLoader ? _activeLoader->totalSize() : 0;

Callers 15

refreshStateMethod · 0.45
showCloudPasswordMethod · 0.45
clipCallbackMethod · 0.45
AddButtonWithLoaderFunction · 0.45
AddDeleteAccountFunction · 0.45
clipCallbackMethod · 0.45
ExportOnBlockchainFunction · 0.45
SetCloudPasswordFunction · 0.45
ShowStarGiftAuctionFunction · 0.45
ActiveAuctionsCallbackFunction · 0.45
clipCallbackMethod · 0.45
requestPasswordMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected