Check for minimum mapping version

* check functions in gui application/application
* check for instance mapping wizard
* check on mapping tool's stashing component
This commit is contained in:
Klaus Basan
2018-12-05 03:37:36 +01:00
parent 774458afc9
commit 42af510342
7 changed files with 41 additions and 9 deletions

View File

@@ -457,6 +457,11 @@ namespace BlackCore
return m_setupReader->asyncLoad();
}
bool CApplication::hasMinimumMappingVersion() const
{
return (this->getGlobalSetup().isSwiftVersionMinimumMappingVersion());
}
bool CApplication::hasWebDataServices() const
{
if (this->isShuttingDown()) { return false; } // service will not survive for long

View File

@@ -382,6 +382,9 @@ namespace BlackCore
//! Reload setup and version
BlackMisc::CStatusMessageList requestReloadOfSetupAndVersion();
//! Minimum mapping version check
virtual bool hasMinimumMappingVersion() const;
//! Read and wait for setup
//! \sa waitForSetup
BlackMisc::CStatusMessageList synchronizeSetup(int timeoutMs = BlackMisc::Network::CNetworkUtils::getLongTimeoutMs());