2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Hook main queue processing to update requests.

This commit is contained in:
John Preston
2019-07-04 15:33:11 +02:00
parent b1807938ad
commit 0e964b06dc
8 changed files with 100 additions and 48 deletions

View File

@@ -45,6 +45,9 @@ bool OpenSystemSettings(SystemSettingsType type);
return LastUserInputTime().has_value();
}
[[nodiscard]] constexpr bool UseMainQueueGeneric();
void DrainMainQueue(); // Needed only if UseMainQueueGeneric() is false.
namespace ThirdParty {
void start();