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