2021-02-05 02:06:21 +04:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "core/file_utilities.h"
|
|
|
|
|
|
|
|
namespace Platform {
|
|
|
|
namespace FileDialog {
|
|
|
|
namespace XDP {
|
|
|
|
|
2021-04-30 08:17:37 +04:00
|
|
|
void Start();
|
2021-04-30 06:56:19 +04:00
|
|
|
std::optional<bool> Get(
|
2021-02-05 02:06:21 +04:00
|
|
|
QPointer<QWidget> parent,
|
|
|
|
QStringList &files,
|
|
|
|
QByteArray &remoteContent,
|
|
|
|
const QString &caption,
|
|
|
|
const QString &filter,
|
2021-06-23 03:20:40 +04:00
|
|
|
::FileDialog::internal::Type type,
|
2021-02-05 02:06:21 +04:00
|
|
|
QString startFile);
|
|
|
|
|
|
|
|
} // namespace XDP
|
|
|
|
} // namespace FileDialog
|
|
|
|
} // namespace Platform
|