mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use photo as video thumbnail in WebPageData.
This commit is contained in:
@@ -9,6 +9,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
#include "data/data_types.h"
|
||||
|
||||
namespace Images {
|
||||
class Source;
|
||||
} // namespace Images
|
||||
|
||||
namespace Storage {
|
||||
namespace Cache {
|
||||
struct Key;
|
||||
@@ -158,6 +162,7 @@ public:
|
||||
Storage::Cache::Key goodThumbnailCacheKey() const;
|
||||
void setGoodThumbnail(QImage &&image, QByteArray &&bytes);
|
||||
void refreshGoodThumbnail();
|
||||
void replaceGoodThumbnail(std::unique_ptr<Images::Source> &&source);
|
||||
|
||||
void setRemoteLocation(
|
||||
int32 dc,
|
||||
|
Reference in New Issue
Block a user