2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-23 10:47:11 +00:00

40 lines
786 B
C
Raw Normal View History

2018-09-05 22:05:49 +03: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"
2018-09-05 22:39:35 +03:00
namespace Window {
class Controller;
} // namespace Window
2018-09-06 00:01:50 +03:00
namespace Ui {
class VerticalLayout;
} // namespace Ui
2018-09-05 22:05:49 +03:00
namespace Settings {
class Main : public Section {
public:
2018-09-05 22:39:35 +03:00
Main(
QWidget *parent,
not_null<Window::Controller*> controller,
not_null<UserData*> self);
2018-09-05 22:05:49 +03:00
rpl::producer<Type> sectionShowOther() override;
private:
2018-09-05 22:39:35 +03:00
void setupContent(not_null<Window::Controller*> controller);
2018-09-05 22:05:49 +03:00
not_null<UserData*> _self;
rpl::event_stream<Type> _showOther;
};
} // namespace Settings