2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Show scans/selfie saving errors.

This commit is contained in:
John Preston
2018-04-13 14:54:17 +04:00
parent f8b2e474b9
commit e7ce4ca10a
11 changed files with 169 additions and 1 deletions

View File

@@ -212,6 +212,7 @@ public:
rpl::producer<QString> passwordError() const;
QString passwordHint() const;
bool canAddScan(not_null<const Value*> value) const;
void uploadScan(not_null<const Value*> value, QByteArray &&content);
void deleteScan(not_null<const Value*> value, int fileIndex);
void restoreScan(not_null<const Value*> value, int fileIndex);