2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-24 03:07:20 +00:00
tdesktop/Telegram/SourceFiles/platform/linux/linux_gtk_file_dialog.h

32 lines
687 B
C
Raw Normal View History

2021-01-10 07:51:38 +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 Gtk {
using Type = ::FileDialog::internal::Type;
bool Supported();
bool Use(Type type = Type::ReadFile);
bool Get(
2021-02-05 16:22:02 +04:00
QPointer<QWidget> parent,
QStringList &files,
QByteArray &remoteContent,
const QString &caption,
const QString &filter,
Type type,
QString startFile);
2021-01-10 07:51:38 +04:00
} // namespace Gtk
} // namespace FileDialog
} // namespace Platform