2018-09-05 19:05:49 +00:00
|
|
|
/*
|
|
|
|
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.h"
|
|
|
|
|
|
|
|
namespace Settings {
|
|
|
|
|
2022-04-01 11:53:23 +00:00
|
|
|
class Notifications : public Section<Notifications> {
|
2018-09-05 19:05:49 +00:00
|
|
|
public:
|
2019-07-24 14:00:30 +00:00
|
|
|
Notifications(
|
|
|
|
QWidget *parent,
|
|
|
|
not_null<Window::SessionController*> controller);
|
2018-09-05 19:05:49 +00:00
|
|
|
|
2022-04-13 08:05:10 +00:00
|
|
|
[[nodiscard]] rpl::producer<QString> title() override;
|
2022-04-01 11:53:23 +00:00
|
|
|
|
2023-08-22 17:13:21 +00:00
|
|
|
rpl::producer<Type> sectionShowOther() override;
|
|
|
|
|
2018-09-05 19:05:49 +00:00
|
|
|
private:
|
2019-07-24 14:00:30 +00:00
|
|
|
void setupContent(not_null<Window::SessionController*> controller);
|
2018-09-05 19:05:49 +00:00
|
|
|
|
2023-08-22 17:13:21 +00:00
|
|
|
rpl::event_stream<Type> _showOther;
|
|
|
|
|
2018-09-05 19:05:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Settings
|