2022-03-23 15:59:53 +00:00
|
|
|
/*
|
|
|
|
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 Platform {
|
|
|
|
|
|
|
|
class Tray;
|
|
|
|
|
2023-10-30 07:16:17 +00:00
|
|
|
[[nodiscard]] bool HasMonochromeSetting();
|
|
|
|
|
2022-03-23 15:59:53 +00:00
|
|
|
} // namespace Platform
|
|
|
|
|
|
|
|
// Platform dependent implementations.
|
|
|
|
|
2023-09-15 05:51:42 +00:00
|
|
|
#ifdef Q_OS_WIN
|
|
|
|
#include "platform/win/tray_win.h"
|
|
|
|
#elif defined Q_OS_MAC // Q_OS_WIN
|
2022-03-23 15:59:53 +00:00
|
|
|
#include "platform/mac/tray_mac.h"
|
2023-09-15 05:51:42 +00:00
|
|
|
#else // Q_OS_WIN || Q_OS_MAC
|
2022-03-23 15:59:53 +00:00
|
|
|
#include "platform/linux/tray_linux.h"
|
2023-09-15 05:51:42 +00:00
|
|
|
#endif // else for Q_OS_WIN || Q_OS_MAC
|