2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-23 10:47:11 +00:00
tdesktop/Telegram/SourceFiles/platform/platform_current_geo_location.h

24 lines
580 B
C
Raw Permalink Normal View History

2024-07-04 12:18:30 +04:00
/*
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
namespace Core {
struct GeoLocation;
2024-07-07 21:01:26 +04:00
struct GeoAddress;
2024-07-04 12:18:30 +04:00
} // namespace Core
namespace Platform {
void ResolveCurrentExactLocation(Fn<void(Core::GeoLocation)> callback);
2024-07-07 21:01:26 +04:00
void ResolveLocationAddress(
const Core::GeoLocation &location,
2024-07-11 16:31:33 +02:00
const QString &language,
2024-07-07 21:01:26 +04:00
Fn<void(Core::GeoAddress)> callback);
2024-07-04 12:18:30 +04:00
} // namespace Platform