mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use Storage::Cache::Database for file caching.
This commit is contained in:
@@ -9,6 +9,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
#include "data/data_types.h"
|
||||
|
||||
namespace Storage {
|
||||
namespace Cache {
|
||||
struct Key;
|
||||
} // namespace Cache
|
||||
} // namespace Storage
|
||||
|
||||
class AuthSession;
|
||||
class mtpFileLoader;
|
||||
|
||||
@@ -173,6 +179,7 @@ public:
|
||||
void setMimeString(const QString &mime);
|
||||
|
||||
MediaKey mediaKey() const;
|
||||
Storage::Cache::Key cacheKey() const;
|
||||
|
||||
static QString ComposeNameString(
|
||||
const QString &filename,
|
||||
|
Reference in New Issue
Block a user