platform_tray.h 628 B

1234567891011121314151617181920212223242526
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. namespace Platform {
  9. class Tray;
  10. [[nodiscard]] bool HasMonochromeSetting();
  11. } // namespace Platform
  12. // Platform dependent implementations.
  13. #ifdef Q_OS_WIN
  14. #include "platform/win/tray_win.h"
  15. #elif defined Q_OS_MAC // Q_OS_WIN
  16. #include "platform/mac/tray_mac.h"
  17. #else // Q_OS_WIN || Q_OS_MAC
  18. #include "platform/linux/tray_linux.h"
  19. #endif // else for Q_OS_WIN || Q_OS_MAC