ZaStoGram_desktop/Telegram/SourceFiles/platform/win/file_utilities_win.h
John Preston 4911100c2d [ai] Fuse real launches and assert document opens
Task: 2026/07/28/assert-open-hand-off-and-fuse-real-launches
2026-07-29 13:01:53 +04:00

27 lines
630 B
C++

/*
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
#include "platform/platform_file_utilities.h"
namespace Platform {
namespace File {
inline QString UrlToLocal(const QUrl &url) {
return ::File::internal::UrlToLocalDefault(url);
}
namespace Unfused {
inline void UnsafeOpenUrl(const QString &url) {
return ::File::internal::UnsafeOpenUrlDefault(url);
}
} // namespace Unfused
} // namespace File
} // namespace Platform