mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
style and consistency:
* rename CStatusMessages to CStatusMessageList * rename NetworkVatlib to CNetworkVatlib * replace all occurrences of Realname with RealName (correct camel case) * CSequence method corresponding to CList::append is push_back * don't compile the qdbuscpp2xml metadata plugin by default * CAircraftIcao string members always trimmed and capitalized * added CComSystem::roundTo25KHz * using epsilon comparison in a couple of places refs #81
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b5c3a5543f
commit
bb61654a29
@@ -71,6 +71,25 @@ namespace BlackMisc
|
||||
return BlackMisc::calculateHash(hashs, "CStatusMessage");
|
||||
}
|
||||
|
||||
/*
|
||||
* Equal
|
||||
*/
|
||||
bool CStatusMessage::operator ==(const CStatusMessage &other) const
|
||||
{
|
||||
return this->m_severity == other.m_severity &&
|
||||
this->m_type == other.m_type &&
|
||||
this->m_timestamp == other.m_timestamp &&
|
||||
this->m_message == other.m_message;
|
||||
}
|
||||
|
||||
/*
|
||||
* Equal
|
||||
*/
|
||||
bool CStatusMessage::operator !=(const CStatusMessage &other) const
|
||||
{
|
||||
return !(other == (*this));
|
||||
}
|
||||
|
||||
/*
|
||||
* To DBus
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user