tdesktop/Telegram/SourceFiles/settings/settings_main.h

29 lines
581 B
C
Raw Normal View History

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 {
class Main : public Section {
public:
Main(QWidget *parent, not_null<UserData*> self);
rpl::producer<Type> sectionShowOther() override;
private:
void setupContent();
not_null<UserData*> _self;
rpl::event_stream<Type> _showOther;
};
} // namespace Settings