extract peer related to new header data/data_peer.h

Also update references in files
Related to #240.
Partially based on upstream commit https://github.com/telegramdesktop/tdesktop/commit/ffc20e4
This commit is contained in:
leha-bot 2019-08-17 14:22:06 +03:00
parent bc898f3af3
commit 4aa8f29333
11 changed files with 1051 additions and 1010 deletions

View File

@ -23,7 +23,7 @@
#pragma once
#include "base/timer.h"
#include "structs.h"
#include "data/data_peer.h"
namespace Storage {
class Downloader;

View File

@ -25,8 +25,8 @@
#include "boxes/abstract_box.h"
#include "core/basic_types.h"
#include "data/data_types.h"
#include "data/data_peer.h"
#include "structs.h" // temporarily. (ChannelData
namespace Ui {
class FlatLabel;

View File

@ -23,7 +23,7 @@
#pragma once
#include "base/observer.h"
#include "structs.h"
#include "data/data_peer.h" // BotCommand
#include "ui/animation.h"
#include "ui/twidget.h"
#include <QTimer>

File diff suppressed because it is too large Load Diff

View File

@ -26,6 +26,7 @@
#include <QPair>
#include "core/utils.h" // TimeMs and stuff
using PhotoId = quint64;
using VideoId = quint64;
using AudioId = quint64;
using DocumentId = quint64;

View File

@ -24,7 +24,7 @@
#include "dialogs/dialogs_common.h"
#include "dialogs/dialogs_list.h"
#include "structs.h"
#include "data/data_peer.h" // PeerData and inner
class History;

View File

@ -29,6 +29,7 @@
#include "ui/animation.h" // For BasicAnimation
#include "ui/effects/send_action_animations.h" // For SendActionAnimation
#include "ui/text/text.h"
#include "data/data_peer.h"
#include "data/data_photo.h"
#include "data/data_game.h"
#include "structs.h"

View File

@ -24,8 +24,8 @@
#include "QTimer"
#include "core/click_handler.h"
#include "data/data_peer.h" // PeerData, UserData
#include "profile/profile_block_peer_list.h"
#include "structs.h"
class UserData;
class ChannelData;

View File

@ -22,7 +22,7 @@
//
#pragma once
#include "structs.h"
#include "data/data_peer.h" // PeerData, UserData
#include "ui/effects/ripple_animation.h"
#include "ui/text/text.h"
#include "window/section_memento.h"

File diff suppressed because it is too large Load Diff

View File

@ -23,6 +23,7 @@
#include "window/notifications_utilities.h"
#include "messenger.h"
#include "data/data_peer.h"
#include "platform/platform_specific.h"
#include "styles/style_window.h"