2024-07-04 08:18:30 +00: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 17:01:26 +00:00
|
|
|
struct GeoAddress;
|
2024-07-04 08:18:30 +00:00
|
|
|
} // namespace Core
|
|
|
|
|
|
|
|
namespace Platform {
|
|
|
|
|
|
|
|
void ResolveCurrentExactLocation(Fn<void(Core::GeoLocation)> callback);
|
2024-07-07 17:01:26 +00:00
|
|
|
void ResolveLocationAddress(
|
|
|
|
const Core::GeoLocation &location,
|
|
|
|
Fn<void(Core::GeoAddress)> callback);
|
2024-07-04 08:18:30 +00:00
|
|
|
|
|
|
|
} // namespace Platform
|