mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #140, changed CValueObject classes to tupel concept
Remarks: Changes looking like an added file result from the shift of namespace voice -> audio
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#ifndef BLACKMISC_INFORMATIONMESSAGE_H
|
||||
#define BLACKMISC_INFORMATIONMESSAGE_H
|
||||
|
||||
#include "blackmiscfreefunctions.h"
|
||||
#include "valueobject.h"
|
||||
#include <QString>
|
||||
#include <QDateTime>
|
||||
@@ -187,6 +188,7 @@ namespace BlackMisc
|
||||
virtual void unmarshallFromDbus(const QDBusArgument &argument) override;
|
||||
|
||||
private:
|
||||
BLACK_ENABLE_TUPLE_CONVERSION(CInformationMessage)
|
||||
InformationType m_type;
|
||||
QString m_message;
|
||||
QDateTime m_receivedTimestamp;
|
||||
@@ -194,6 +196,8 @@ namespace BlackMisc
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
BLACK_DBUS_ENUM_MARSHALLING(BlackMisc::Aviation::CInformationMessage::InformationType)
|
||||
BLACK_DECLARE_TUPLE_CONVERSION(BlackMisc::Aviation::CInformationMessage, (o.m_type, o.m_message, o.m_receivedTimestamp))
|
||||
Q_DECLARE_METATYPE(BlackMisc::Aviation::CInformationMessage)
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user