mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T160, ping service URL in setup
This commit is contained in:
@@ -132,6 +132,13 @@ namespace BlackCore
|
||||
withSwitchedScheme("https", m_dbHttpsPort);
|
||||
}
|
||||
|
||||
CUrl CGlobalSetup::getDbClientPingServiceUrl() const
|
||||
{
|
||||
return getDbRootDirectoryUrl().
|
||||
withAppendedPath("/service/clientping.php").
|
||||
withSwitchedScheme("https", m_dbHttpsPort);
|
||||
}
|
||||
|
||||
CUrl CGlobalSetup::getAlphaXSwiftBusFilesServiceUrl() const
|
||||
{
|
||||
return getDbRootDirectoryUrl().
|
||||
@@ -280,7 +287,10 @@ namespace BlackCore
|
||||
% getDbHomePageUrl().toQString(i18n)
|
||||
% separator
|
||||
% "DB login service: "
|
||||
% getDbLoginServiceUrl().toQString(i18n);
|
||||
% getDbLoginServiceUrl().toQString(i18n)
|
||||
% separator
|
||||
% "DB client ping service: "
|
||||
% getDbClientPingServiceUrl().toQString(i18n);
|
||||
s +=
|
||||
"VATSIM bookings: "
|
||||
% getVatsimBookingsUrl().toQString(i18n)
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace BlackCore
|
||||
IndexDbHttpPort,
|
||||
IndexDbHttpsPort,
|
||||
IndexDbLoginService,
|
||||
IndexDbClientPingService,
|
||||
IndexVatsimStatus,
|
||||
IndexVatsimBookings,
|
||||
IndexVatsimMetars,
|
||||
@@ -120,6 +121,10 @@ namespace BlackCore
|
||||
//! \remark based on getDbRootDirectoryUrl
|
||||
BlackMisc::Network::CUrl getDbLoginServiceUrl() const;
|
||||
|
||||
//! DB ping service
|
||||
//! \remark based on getDbRootDirectoryUrl
|
||||
BlackMisc::Network::CUrl getDbClientPingServiceUrl() const;
|
||||
|
||||
//! alpha XSwiftBus files available
|
||||
BlackMisc::Network::CUrl getAlphaXSwiftBusFilesServiceUrl() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user