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

Prepare Media::Streaming::Reader to be shared.

This commit is contained in:
John Preston
2019-04-10 15:26:15 +04:00
parent 8e15e71fd5
commit 8c0cd9b9e9
17 changed files with 281 additions and 70 deletions

View File

@@ -112,7 +112,7 @@ public:
void cancel();
[[nodiscard]] bool cancelled() const;
[[nodiscard]] float64 progress() const;
[[nodiscard]] int32 loadOffset() const;
[[nodiscard]] int loadOffset() const;
[[nodiscard]] bool uploading() const;
void setWaitingForAlbum();
@@ -247,7 +247,7 @@ private:
void validateGoodThumbnail();
void setMaybeSupportsStreaming(bool supports);
void destroyLoader(mtpFileLoader *newValue = nullptr) const;
void destroyLoader(FileLoader *newValue = nullptr) const;
[[nodiscard]] bool thumbnailEnoughForSticker() const;