Improve includes.

This commit is contained in:
levlam 2024-08-15 15:14:33 +03:00
parent 980aa4bd22
commit 210269a498
17 changed files with 10 additions and 10 deletions

View File

@ -12,6 +12,7 @@
#include "td/telegram/Global.h" #include "td/telegram/Global.h"
#include "td/telegram/InlineQueriesManager.h" #include "td/telegram/InlineQueriesManager.h"
#include "td/telegram/MessagesManager.h" #include "td/telegram/MessagesManager.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/PasswordManager.h" #include "td/telegram/PasswordManager.h"
#include "td/telegram/Td.h" #include "td/telegram/Td.h"
#include "td/telegram/td_api.h" #include "td/telegram/td_api.h"

View File

@ -28,7 +28,6 @@
#include "td/telegram/MinChannel.h" #include "td/telegram/MinChannel.h"
#include "td/telegram/misc.h" #include "td/telegram/misc.h"
#include "td/telegram/MissingInvitee.h" #include "td/telegram/MissingInvitee.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/OptionManager.h" #include "td/telegram/OptionManager.h"
#include "td/telegram/PeerColor.h" #include "td/telegram/PeerColor.h"
#include "td/telegram/Photo.h" #include "td/telegram/Photo.h"

View File

@ -6,7 +6,6 @@
// //
#include "td/telegram/ClientActor.h" #include "td/telegram/ClientActor.h"
#include "td/telegram/net/NetQueryCounter.h"
#include "td/telegram/net/NetQueryStats.h" #include "td/telegram/net/NetQueryStats.h"
#include "td/telegram/Td.h" #include "td/telegram/Td.h"

View File

@ -9,6 +9,7 @@
#include "td/telegram/AuthManager.h" #include "td/telegram/AuthManager.h"
#include "td/telegram/net/ConnectionCreator.h" #include "td/telegram/net/ConnectionCreator.h"
#include "td/telegram/net/NetQueryDispatcher.h" #include "td/telegram/net/NetQueryDispatcher.h"
#include "td/telegram/net/NetQueryStats.h"
#include "td/telegram/net/TempAuthKeyWatchdog.h" #include "td/telegram/net/TempAuthKeyWatchdog.h"
#include "td/telegram/OptionManager.h" #include "td/telegram/OptionManager.h"
#include "td/telegram/StateManager.h" #include "td/telegram/StateManager.h"

View File

@ -61,6 +61,7 @@ class LinkManager;
class MessageImportManager; class MessageImportManager;
class MessagesManager; class MessagesManager;
class NetQueryDispatcher; class NetQueryDispatcher;
class NetQueryStats;
class NotificationManager; class NotificationManager;
class NotificationSettingsManager; class NotificationSettingsManager;
class OnlineManager; class OnlineManager;

View File

@ -98,8 +98,6 @@
#include "td/telegram/MessageTtl.h" #include "td/telegram/MessageTtl.h"
#include "td/telegram/misc.h" #include "td/telegram/misc.h"
#include "td/telegram/net/ConnectionCreator.h" #include "td/telegram/net/ConnectionCreator.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/net/NetQueryDelayer.h"
#include "td/telegram/net/NetQueryDispatcher.h" #include "td/telegram/net/NetQueryDispatcher.h"
#include "td/telegram/net/NetStatsManager.h" #include "td/telegram/net/NetStatsManager.h"
#include "td/telegram/net/NetType.h" #include "td/telegram/net/NetType.h"

View File

@ -13,6 +13,7 @@
#include "td/telegram/logevent/SecretChatEvent.h" #include "td/telegram/logevent/SecretChatEvent.h"
#include "td/telegram/MessageId.h" #include "td/telegram/MessageId.h"
#include "td/telegram/MessagesManager.h" #include "td/telegram/MessagesManager.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/net/NetQueryDispatcher.h" #include "td/telegram/net/NetQueryDispatcher.h"
#include "td/telegram/SecretChatDb.h" #include "td/telegram/SecretChatDb.h"
#include "td/telegram/SequenceDispatcher.h" #include "td/telegram/SequenceDispatcher.h"

View File

@ -53,7 +53,6 @@
#include "td/telegram/net/ConnectionCreator.h" #include "td/telegram/net/ConnectionCreator.h"
#include "td/telegram/net/MtprotoHeader.h" #include "td/telegram/net/MtprotoHeader.h"
#include "td/telegram/net/NetQuery.h" #include "td/telegram/net/NetQuery.h"
#include "td/telegram/net/NetQueryDelayer.h"
#include "td/telegram/net/NetQueryDispatcher.h" #include "td/telegram/net/NetQueryDispatcher.h"
#include "td/telegram/net/NetStatsManager.h" #include "td/telegram/net/NetStatsManager.h"
#include "td/telegram/net/Proxy.h" #include "td/telegram/net/Proxy.h"

View File

@ -15,7 +15,6 @@
#include "td/telegram/logevent/LogEvent.h" #include "td/telegram/logevent/LogEvent.h"
#include "td/telegram/MessagesManager.h" #include "td/telegram/MessagesManager.h"
#include "td/telegram/misc.h" #include "td/telegram/misc.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/net/NetQueryDispatcher.h" #include "td/telegram/net/NetQueryDispatcher.h"
#include "td/telegram/StateManager.h" #include "td/telegram/StateManager.h"
#include "td/telegram/Td.h" #include "td/telegram/Td.h"

View File

@ -44,7 +44,6 @@
#include "td/telegram/MessageTtl.h" #include "td/telegram/MessageTtl.h"
#include "td/telegram/misc.h" #include "td/telegram/misc.h"
#include "td/telegram/net/DcOptions.h" #include "td/telegram/net/DcOptions.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/NotificationManager.h" #include "td/telegram/NotificationManager.h"
#include "td/telegram/NotificationSettingsManager.h" #include "td/telegram/NotificationSettingsManager.h"
#include "td/telegram/NotificationSettingsScope.h" #include "td/telegram/NotificationSettingsScope.h"

View File

@ -41,7 +41,6 @@
#include "td/telegram/MessagesManager.h" #include "td/telegram/MessagesManager.h"
#include "td/telegram/MessageTtl.h" #include "td/telegram/MessageTtl.h"
#include "td/telegram/misc.h" #include "td/telegram/misc.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/NotificationManager.h" #include "td/telegram/NotificationManager.h"
#include "td/telegram/OnlineManager.h" #include "td/telegram/OnlineManager.h"
#include "td/telegram/OptionManager.h" #include "td/telegram/OptionManager.h"

View File

@ -9,6 +9,7 @@
#include "td/telegram/files/FileLoaderActor.h" #include "td/telegram/files/FileLoaderActor.h"
#include "td/telegram/files/FileLocation.h" #include "td/telegram/files/FileLocation.h"
#include "td/telegram/files/ResourceManager.h" #include "td/telegram/files/ResourceManager.h"
#include "td/telegram/net/NetQuery.h"
#include "td/actor/actor.h" #include "td/actor/actor.h"

View File

@ -7,6 +7,7 @@
#pragma once #pragma once
#include "td/telegram/net/NetActor.h" #include "td/telegram/net/NetActor.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/net/NetQueryCreator.h" #include "td/telegram/net/NetQueryCreator.h"
#include "td/telegram/net/NetQueryDispatcher.h" #include "td/telegram/net/NetQueryDispatcher.h"
#include "td/telegram/net/PublicRsaKeySharedCdn.h" #include "td/telegram/net/PublicRsaKeySharedCdn.h"

View File

@ -373,7 +373,7 @@ void Session::connection_online_update(double now, bool force) {
void Session::send(NetQueryPtr &&query) { void Session::send(NetQueryPtr &&query) {
last_activity_timestamp_ = Time::now(); last_activity_timestamp_ = Time::now();
// query->debug(PSTRING() << get_name() << ": received from SessionProxy"); // query->debug(PSTRING() << get_name() << ": received by Session");
query->set_session_id(auth_data_.get_session_id()); query->set_session_id(auth_data_.get_session_id());
VLOG(net_query) << "Receive query " << query; VLOG(net_query) << "Receive query " << query;
if (query->update_is_ready()) { if (query->update_is_ready()) {

View File

@ -7,6 +7,7 @@
#pragma once #pragma once
#include "td/telegram/Global.h" #include "td/telegram/Global.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/net/NetQueryCreator.h" #include "td/telegram/net/NetQueryCreator.h"
#include "td/telegram/net/NetQueryDispatcher.h" #include "td/telegram/net/NetQueryDispatcher.h"
#include "td/telegram/telegram_api.h" #include "td/telegram/telegram_api.h"

View File

@ -6,7 +6,6 @@
// //
#include "td/telegram/ConfigManager.h" #include "td/telegram/ConfigManager.h"
#include "td/telegram/net/PublicRsaKeySharedMain.h" #include "td/telegram/net/PublicRsaKeySharedMain.h"
#include "td/telegram/net/Session.h"
#include "td/telegram/NotificationManager.h" #include "td/telegram/NotificationManager.h"
#include "td/telegram/telegram_api.h" #include "td/telegram/telegram_api.h"

View File

@ -9,6 +9,8 @@
#include "td/telegram/Global.h" #include "td/telegram/Global.h"
#include "td/telegram/logevent/LogEvent.h" #include "td/telegram/logevent/LogEvent.h"
#include "td/telegram/MessageId.h" #include "td/telegram/MessageId.h"
#include "td/telegram/net/NetQuery.h"
#include "td/telegram/net/NetQueryCreator.h"
#include "td/telegram/secret_api.h" #include "td/telegram/secret_api.h"
#include "td/telegram/SecretChatActor.h" #include "td/telegram/SecretChatActor.h"
#include "td/telegram/SecretChatDb.h" #include "td/telegram/SecretChatDb.h"