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"
|
|
|
|
|
2020-07-22 12:10:17 +00:00
|
|
|
namespace Window {
|
|
|
|
class Controller;
|
|
|
|
} // namespace Window
|
|
|
|
|
2018-09-05 19:05:49 +00:00
|
|
|
namespace Settings {
|
|
|
|
|
2019-07-24 14:00:30 +00:00
|
|
|
void SetupDataStorage(
|
|
|
|
not_null<Window::SessionController*> controller,
|
|
|
|
not_null<Ui::VerticalLayout*> container);
|
|
|
|
void SetupAutoDownload(
|
|
|
|
not_null<Window::SessionController*> controller,
|
|
|
|
not_null<Ui::VerticalLayout*> container);
|
2020-07-22 12:10:17 +00:00
|
|
|
void SetupDefaultThemes(
|
|
|
|
not_null<Window::Controller*> window,
|
|
|
|
not_null<Ui::VerticalLayout*> container);
|
2019-07-24 14:00:30 +00:00
|
|
|
void SetupSupport(
|
|
|
|
not_null<Window::SessionController*> controller,
|
|
|
|
not_null<Ui::VerticalLayout*> container);
|
2018-09-11 18:07:04 +00:00
|
|
|
|
2018-09-05 19:05:49 +00:00
|
|
|
class Chat : public Section {
|
|
|
|
public:
|
2019-07-24 14:00:30 +00:00
|
|
|
Chat(QWidget *parent, not_null<Window::SessionController*> controller);
|
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
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Settings
|