2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-25 19:57:20 +00:00
tdesktop/Telegram/SourceFiles/ui/chat/attach/attach_single_file_preview.h

30 lines
675 B
C
Raw Normal View History

/*
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
2021-07-12 14:02:02 +03:00
#include "ui/chat/attach/attach_abstract_single_file_preview.h"
namespace Ui {
struct PreparedFile;
2021-07-12 14:02:02 +03:00
class SingleFilePreview final : public AbstractSingleFilePreview {
public:
SingleFilePreview(
QWidget *parent,
const style::ComposeControls &st,
const PreparedFile &file,
AttachControls::Type type = AttachControls::Type::Full);
private:
void preparePreview(const PreparedFile &file);
};
} // namespace Ui