file_utilities_win.h 586 B

123456789101112131415161718192021222324
  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 "platform/platform_file_utilities.h"
  9. namespace Platform {
  10. namespace File {
  11. inline QString UrlToLocal(const QUrl &url) {
  12. return ::File::internal::UrlToLocalDefault(url);
  13. }
  14. inline void UnsafeOpenUrl(const QString &url) {
  15. return ::File::internal::UnsafeOpenUrlDefault(url);
  16. }
  17. } // namespace File
  18. } // namespace Platform