mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-29 04:29:10 +02:00
24 lines
603 B
C++
24 lines
603 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/rp_widget.h"
|
|
|
|
namespace Ui {
|
|
|
|
class AbstractSinglePreview : public RpWidget {
|
|
public:
|
|
using RpWidget::RpWidget;
|
|
|
|
[[nodiscard]] virtual rpl::producer<> deleteRequests() const = 0;
|
|
[[nodiscard]] virtual rpl::producer<> editRequests() const = 0;
|
|
[[nodiscard]] virtual rpl::producer<> modifyRequests() const = 0;
|
|
|
|
};
|
|
|
|
} // namespace Ui
|