2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Move Image and derived to ui/image.

This commit is contained in:
John Preston
2018-10-11 18:54:57 +03:00
parent d56a3d015b
commit 113f665295
48 changed files with 1917 additions and 1776 deletions

View File

@@ -11,6 +11,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "chat_helpers/stickers.h"
#include "dialogs/dialogs_key.h"
#include "data/data_groups.h"
#include "history/history_location_manager.h"
#include "base/timer.h"
class HistoryItem;
@@ -323,6 +324,8 @@ public:
not_null<GameData*> original,
const MTPGame &data);
not_null<LocationData*> location(const LocationCoords &coords);
void registerPhotoItem(
not_null<const PhotoData*> photo,
not_null<HistoryItem*> item);
@@ -593,6 +596,9 @@ private:
std::unordered_map<
WebPageId,
std::unique_ptr<WebPageData>> _webpages;
std::unordered_map<
LocationCoords,
std::unique_ptr<LocationData>> _locations;
std::map<
not_null<const WebPageData*>,
base::flat_set<not_null<HistoryItem*>>> _webpageItems;