libnetservices.a: move BGeoLocation from libshared.a
The BGeolocation class uses the network interface in libnetservices.a, so it is moved here for now. This will break any out of tree projects that depend on it, but it is a source incompatible change only. Change-Id: I6f5b1332eb87ad37dd33fbe09fdb11b16f7f26e4 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3670 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
4080dbd635
commit
2a7090df71
@ -12,6 +12,7 @@
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
namespace Network {
|
||||
|
||||
class BGeolocation {
|
||||
public:
|
||||
@ -36,6 +37,7 @@ private:
|
||||
static const char* kDefaultGeocodingService;
|
||||
};
|
||||
|
||||
} // namespace Network
|
||||
|
||||
} // namespace BPrivate
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
namespace Network {
|
||||
|
||||
class GeolocationListener: public BUrlProtocolListener
|
||||
{
|
||||
@ -248,5 +249,6 @@ const char* BGeolocation::kDefaultGeocodingService = "";
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace Network
|
||||
|
||||
} // namespace BPrivate
|
@ -36,6 +36,10 @@ local sources =
|
||||
UrlSynchronousRequest.cpp
|
||||
;
|
||||
|
||||
if [ Glob $(SUBDIR) : DefaultGeolocationServiceKey.h ] {
|
||||
SubDirC++Flags [ FDefines HAVE_DEFAULT_GEOLOCATION_SERVICE_KEY ] ;
|
||||
}
|
||||
|
||||
local architectureObject ;
|
||||
for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
on $(architectureObject) {
|
||||
@ -52,6 +56,7 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
} else {
|
||||
StaticLibrary [ MultiArchDefaultGristFiles libnetservices.a ] :
|
||||
$(sources)
|
||||
Geolocation.cpp
|
||||
;
|
||||
}
|
||||
|
||||
|
@ -5,13 +5,6 @@ AddSubDirSupportedPlatforms libbe_test ;
|
||||
UseLibraryHeaders agg ;
|
||||
UsePrivateHeaders shared locale ;
|
||||
|
||||
if [ Glob $(SUBDIR) : DefaultGeolocationServiceKey.h ] {
|
||||
SubDirC++Flags [ FDefines HAVE_DEFAULT_GEOLOCATION_SERVICE_KEY ] ;
|
||||
}
|
||||
|
||||
# Use the deprecated libnetapi.so classes
|
||||
SubDirC++Flags [ FDefines LIBNETAPI_DEPRECATED ] ;
|
||||
|
||||
local architectureObject ;
|
||||
for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
on $(architectureObject) {
|
||||
@ -31,9 +24,6 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
# for BKeymap
|
||||
UsePrivateHeaders interface ;
|
||||
|
||||
# for BGeolocation
|
||||
UsePrivateHeaders netservices ;
|
||||
|
||||
StaticLibrary <$(architecture)>libshared.a :
|
||||
AboutMenuItem.cpp
|
||||
ArgumentVector.cpp
|
||||
@ -44,7 +34,6 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
CommandPipe.cpp
|
||||
DragTrackingFilter.cpp
|
||||
DriverSettingsMessageAdapter.cpp
|
||||
Geolocation.cpp
|
||||
HashString.cpp
|
||||
IconButton.cpp
|
||||
IconView.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user