tdesktop/Telegram/SourceFiles/platform/linux/linux_gtk_file_dialog.h

31 lines
669 B
C
Raw Normal View History

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