platform_main_window.h 640 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. #include "window/main_window.h"
  9. namespace Platform {
  10. class MainWindow;
  11. } // namespace Platform
  12. // Platform dependent implementations.
  13. #ifdef Q_OS_WIN
  14. #include "platform/win/main_window_win.h"
  15. #elif defined Q_OS_MAC // Q_OS_WIN
  16. #include "platform/mac/main_window_mac.h"
  17. #else // Q_OS_WIN || Q_OS_MAC
  18. #include "platform/linux/main_window_linux.h"
  19. #endif // else Q_OS_WIN || Q_OS_MAC