summaryrefslogtreecommitdiffstats
path: root/Telegram/SourceFiles/platform/linux/linux_xdp_file_dialog.h
blob: 1ded00e0644546c0208c4e07600f0fc51f7587c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
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 {

using Type = ::FileDialog::internal::Type;

bool Use(Type type = Type::ReadFile);
bool Get(
	QPointer<QWidget> parent,
	QStringList &files,
	QByteArray &remoteContent,
	const QString &caption,
	const QString &filter,
	Type type,
	QString startFile);

} // namespace XDP
} // namespace FileDialog
} // namespace Platform