Move Geolocation to kits/shared and make it private.
This commit is contained in:
parent
d02e38fb13
commit
3006031ac2
@ -9,6 +9,9 @@
|
||||
#include <Url.h>
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
|
||||
class BGeolocation {
|
||||
public:
|
||||
BGeolocation();
|
||||
@ -26,4 +29,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
} // namespace BPrivate
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -50,7 +50,7 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
NetworkInterface.cpp
|
||||
NetworkRoster.cpp
|
||||
RouteSupport.cpp
|
||||
|
||||
|
||||
AbstractSocket.cpp
|
||||
DatagramSocket.cpp
|
||||
Socket.cpp
|
||||
@ -59,8 +59,6 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
# TODO: another add-on for file:// (a much simpler one)
|
||||
FileRequest.cpp
|
||||
|
||||
Geolocation.cpp
|
||||
|
||||
# TODO: another add-on for gopher://
|
||||
GopherRequest.cpp
|
||||
|
||||
|
@ -16,6 +16,9 @@
|
||||
#include <UrlRequest.h>
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
|
||||
BGeolocation::BGeolocation()
|
||||
: fService(kDefaultService)
|
||||
{
|
||||
@ -141,3 +144,6 @@ BGeolocation::LocateSelf(float& latitude, float& longitude)
|
||||
// FIXME switch to an openly available service that will actually work with the
|
||||
// "standard" geolocation API. Openbmap has a few variations.
|
||||
const char* BGeolocation::kDefaultService = "http://openbmap.org/api/json.php5";
|
||||
|
||||
|
||||
} // namespace BPrivate
|
@ -30,6 +30,7 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
CommandPipe.cpp
|
||||
DragTrackingFilter.cpp
|
||||
DriverSettingsMessageAdapter.cpp
|
||||
Geolocation.cpp
|
||||
HashString.cpp
|
||||
IconButton.cpp
|
||||
IconView.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user