tdesktop/Telegram/SourceFiles/settings/settings_notifications.h

32 lines
726 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 "settings/settings_common_session.h"
namespace Settings {
class Notifications : public Section<Notifications> {
public:
Notifications(
QWidget *parent,
not_null<Window::SessionController*> controller);
[[nodiscard]] rpl::producer<QString> title() override;
rpl::producer<Type> sectionShowOther() override;
private:
void setupContent(not_null<Window::SessionController*> controller);
rpl::event_stream<Type> _showOther;
};
} // namespace Settings