mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Ref T224, improved check of DB data availability in swift GUI
* some renamings * check for empty caches as well * using fixed timestamp checks * display info about loading objects
This commit is contained in:
@@ -112,6 +112,11 @@ namespace BlackMisc
|
||||
}
|
||||
}
|
||||
|
||||
CEntityFlags::Entity CEntityFlags::entityFlagToEntity(CEntityFlags::EntityFlag entityFlag)
|
||||
{
|
||||
return static_cast<Entity>(static_cast<int>(entityFlag));
|
||||
}
|
||||
|
||||
CEntityFlags::EntityFlag CEntityFlags::entityToEntityFlag(Entity entity)
|
||||
{
|
||||
return static_cast<EntityFlag>(static_cast<int>(entity));
|
||||
|
||||
@@ -86,9 +86,12 @@ namespace BlackMisc
|
||||
static QString flagToString(ReadState flag);
|
||||
|
||||
//! Flag to severity
|
||||
static BlackMisc::CStatusMessage::StatusSeverity flagToSeverity(ReadState state);
|
||||
static CStatusMessage::StatusSeverity flagToSeverity(ReadState state);
|
||||
|
||||
//! To flag
|
||||
//! To entity (when explicit conversion is needed)
|
||||
static Entity entityFlagToEntity(EntityFlag entityFlag);
|
||||
|
||||
//! To flag (when explicit conversion is needed)
|
||||
static EntityFlag entityToEntityFlag(Entity entity);
|
||||
|
||||
//! Return single entity and remove it from entities
|
||||
|
||||
Reference in New Issue
Block a user