2020-03-24 08:58:47 +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 Folders : public Section<Folders> {
|
2020-03-24 08:58:47 +00:00
|
|
|
public:
|
|
|
|
Folders(
|
|
|
|
QWidget *parent,
|
|
|
|
not_null<Window::SessionController*> controller);
|
|
|
|
~Folders();
|
|
|
|
|
2022-04-01 11:53:23 +00:00
|
|
|
[[nodiscard]] static rpl::producer<QString> Title();
|
|
|
|
|
2020-03-24 08:58:47 +00:00
|
|
|
private:
|
|
|
|
void setupContent(not_null<Window::SessionController*> controller);
|
|
|
|
|
|
|
|
Fn<void()> _save;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Settings
|
|
|
|
|