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

Method accessEnable

Telegram/SourceFiles/core/file_location.cpp:125–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125bool FileLocation::accessEnable() const {
126 return isEmpty() ? false : (_bookmark ? _bookmark->enable() : true);
127}
128
129void FileLocation::accessDisable() const {
130 return _bookmark ? _bookmark->disable() : (void)0;

Callers 15

ReaderPrivateMethod · 0.80
saveAsMethod · 0.80
downloadMediaMethod · 0.80
displayDocumentMethod · 0.80
initThemePreviewMethod · 0.80
openFileMethod · 0.80
fillFromFileMethod · 0.80
ReadRingtoneBytesFunction · 0.80
checkStickerLargeMethod · 0.80
GenerateGoodThumbnailMethod · 0.80

Calls 2

isEmptyFunction · 0.85
enableMethod · 0.80

Tested by

no test coverage detected