mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-01 21:44:03 +02:00
27 lines
581 B
C++
27 lines
581 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);
|
|
|
|
private:
|
|
void preparePreview(const PreparedFile &file);
|
|
|
|
};
|
|
|
|
} // namespace Ui
|