settings_notifications.h 637 B

123456789101112131415161718192021222324252627
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. #include "settings/settings_common_session.h"
  9. namespace Settings {
  10. class Notifications : public Section<Notifications> {
  11. public:
  12. Notifications(
  13. QWidget *parent,
  14. not_null<Window::SessionController*> controller);
  15. [[nodiscard]] rpl::producer<QString> title() override;
  16. private:
  17. void setupContent(not_null<Window::SessionController*> controller);
  18. };
  19. } // namespace Settings