41 lines
		
	
	
	
		
			1,011 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			1,011 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
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 Main {
 | 
						|
class Account;
 | 
						|
} // namespace Main
 | 
						|
 | 
						|
namespace Settings {
 | 
						|
 | 
						|
void SetupConnectionType(
 | 
						|
	not_null<Main::Account*> account,
 | 
						|
	not_null<Ui::VerticalLayout*> container);
 | 
						|
bool HasUpdate();
 | 
						|
void SetupUpdate(not_null<Ui::VerticalLayout*> container);
 | 
						|
void SetupSystemIntegrationContent(not_null<Ui::VerticalLayout*> container);
 | 
						|
void SetupAnimations(not_null<Ui::VerticalLayout*> container);
 | 
						|
 | 
						|
class Advanced : public Section {
 | 
						|
public:
 | 
						|
	Advanced(
 | 
						|
		QWidget *parent,
 | 
						|
		not_null<Window::SessionController*> controller);
 | 
						|
 | 
						|
	rpl::producer<Type> sectionShowOther() override;
 | 
						|
 | 
						|
private:
 | 
						|
	void setupContent(not_null<Window::SessionController*> controller);
 | 
						|
 | 
						|
	rpl::event_stream<Type> _showOther;
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
} // namespace Settings
 |