platform_launcher.h 761 B

123456789101112131415161718192021222324252627282930
  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 Launcher : public Core::Launcher {
  10. //public:
  11. // Launcher(int argc, char *argv[]);
  12. //
  13. // ...
  14. //
  15. //};
  16. } // namespace Platform
  17. // Platform dependent implementations.
  18. #if defined Q_OS_WINRT || defined Q_OS_WIN
  19. #include "platform/win/launcher_win.h"
  20. #elif defined Q_OS_MAC // Q_OS_WINRT || Q_OS_WIN
  21. #include "platform/mac/launcher_mac.h"
  22. #else // Q_OS_WINRT || Q_OS_WIN || Q_OS_MAC
  23. #include "platform/linux/launcher_linux.h"
  24. #endif // else for Q_OS_WINRT || Q_OS_WIN || Q_OS_MAC