24 lines
		
	
	
	
		
			550 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			550 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
 | |
| 
 | |
| namespace Support {
 | |
| 
 | |
| bool ValidateAccount(const MTPUser &self);
 | |
| 
 | |
| enum class SwitchSettings {
 | |
| 	None,
 | |
| 	Next,
 | |
| 	Previous,
 | |
| };
 | |
| 
 | |
| Qt::KeyboardModifiers SkipSwitchModifiers();
 | |
| bool HandleSwitch(Qt::KeyboardModifiers modifiers);
 | |
| FnMut<bool()> GetSwitchMethod(SwitchSettings value);
 | |
| 
 | |
| } // namespace Support
 | 
