34 lines
		
	
	
	
		
			755 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			755 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_type.h"
 | 
						|
 | 
						|
namespace Main {
 | 
						|
class Session;
 | 
						|
} // namespace Main
 | 
						|
 | 
						|
namespace Window {
 | 
						|
class SessionController;
 | 
						|
} // namespace Window
 | 
						|
 | 
						|
namespace Settings {
 | 
						|
 | 
						|
[[nodiscard]] Type PremiumId();
 | 
						|
 | 
						|
void ShowPremium(not_null<::Main::Session*> session, const QString &ref);
 | 
						|
void ShowPremium(
 | 
						|
	not_null<Window::SessionController*> controller,
 | 
						|
	const QString &ref);
 | 
						|
 | 
						|
void StartPremiumPayment(
 | 
						|
	not_null<Window::SessionController*> controller,
 | 
						|
	const QString &ref);
 | 
						|
 | 
						|
} // namespace Settings
 | 
						|
 |