| 12345678910111213141516171819202122232425262728293031 |
- /*
- 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/layers/generic_box.h"
- namespace Ui {
- class AbstractCheckView;
- struct ForwardOptions {
- int sendersCount = 0;
- int captionsCount = 0;
- bool dropNames = false;
- bool dropCaptions = false;
- };
- void FillForwardOptions(
- Fn<not_null<AbstractCheckView*>(
- rpl::producer<QString> &&,
- bool)> createView,
- ForwardOptions options,
- Fn<void(ForwardOptions)> optionsChanged,
- rpl::lifetime &lifetime);
- } // namespace Ui
|