24 lines
536 B
C++
24 lines
536 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
|
|
|
|
namespace Ui {
|
|
class GenericBox;
|
|
} // namespace Ui
|
|
|
|
enum class HistoryVisibility {
|
|
Visible,
|
|
Hidden,
|
|
};
|
|
|
|
void EditPeerHistoryVisibilityBox(
|
|
not_null<Ui::GenericBox*> box,
|
|
bool isLegacy,
|
|
Fn<void(HistoryVisibility)> savedCallback,
|
|
HistoryVisibility historyVisibilitySavedValue);
|