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