| 
									
										
										
										
											2016-06-16 15:59:54 +03:00
										 |  |  | /*
 | 
					
						
							|  |  |  | This file is part of Telegram Desktop, | 
					
						
							| 
									
										
										
										
											2018-01-03 13:23:14 +03:00
										 |  |  | the official desktop application for the Telegram messaging service. | 
					
						
							| 
									
										
										
										
											2016-06-16 15:59:54 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-03 13:23:14 +03:00
										 |  |  | For license and copyright information please follow this link: | 
					
						
							|  |  |  | https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
 | 
					
						
							| 
									
										
										
										
											2016-06-16 15:59:54 +03:00
										 |  |  | */ | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-28 13:51:00 +03:00
										 |  |  | #include "window/main_window.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace Platform { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class MainWindow; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } // namespace Platform
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Platform dependent implementations.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-16 15:59:54 +03:00
										 |  |  | #ifdef Q_OS_MAC
 | 
					
						
							|  |  |  | #include "platform/mac/main_window_mac.h"
 | 
					
						
							| 
									
										
										
										
											2020-06-13 05:03:23 +04:00
										 |  |  | #elif defined Q_OS_UNIX // Q_OS_MAC
 | 
					
						
							| 
									
										
										
										
											2016-06-16 15:59:54 +03:00
										 |  |  | #include "platform/linux/main_window_linux.h"
 | 
					
						
							| 
									
										
										
										
											2020-06-13 05:03:23 +04:00
										 |  |  | #elif defined Q_OS_WIN // Q_OS_MAC || Q_OS_UNIX
 | 
					
						
							| 
									
										
										
										
											2016-06-16 15:59:54 +03:00
										 |  |  | #include "platform/win/main_window_win.h"
 | 
					
						
							| 
									
										
										
										
											2020-06-13 05:03:23 +04:00
										 |  |  | #endif // Q_OS_MAC || Q_OS_UNIX || Q_OS_WIN
 |