Make UEFI boot-platform build again
[haiku.git] / headers / private / shared / Geolocation.h
blobcad1e176bdbbacb491cca571b988b982f605e75b
1 /*
2 * Copyright 2014, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _GEOLOCATION_H
6 #define _GEOLOCATION_H
9 #include <Url.h>
12 namespace BPrivate {
15 class BGeolocation {
16 public:
17 BGeolocation();
18 BGeolocation(const BUrl& service);
20 status_t LocateSelf(float& latitude, float& longitude);
21 status_t Locate(const BString placeName, float& latitude,
22 float& longitude);
23 status_t Name(const float latitude, const float longitude,
24 BString& name);
26 private:
27 BUrl fService;
28 static const char* kDefaultService;
32 } // namespace BPrivate
35 #endif