mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-29 12:35:13 +02:00
28 lines
639 B
C++
28 lines
639 B
C++
/*
|
|
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 "ui/chat/attach/attach_abstract_single_file_preview.h"
|
|
|
|
namespace Ui {
|
|
|
|
struct PreparedFile;
|
|
|
|
class SingleFilePreview final : public AbstractSingleFilePreview {
|
|
public:
|
|
SingleFilePreview(
|
|
QWidget *parent,
|
|
const PreparedFile &file,
|
|
AttachControls::Type type = AttachControls::Type::Full);
|
|
|
|
private:
|
|
void preparePreview(const PreparedFile &file);
|
|
|
|
};
|
|
|
|
} // namespace Ui
|