mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T552 Using QDataStream marshalling mixins in value classes.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/compare.h"
|
||||
#include "blackmisc/dbus.h"
|
||||
#include "blackmisc/datastream.h"
|
||||
#include "blackmisc/dictionary.h"
|
||||
#include "blackmisc/icon.h"
|
||||
#include "blackmisc/metaclass.h"
|
||||
@@ -44,6 +45,7 @@ namespace BlackMisc
|
||||
public Mixin::HashByMetaClass<CLogPattern>,
|
||||
public Mixin::EqualsByMetaClass<CLogPattern>,
|
||||
public Mixin::DBusOperators<CLogPattern>,
|
||||
public Mixin::DataStreamOperators<CLogPattern>,
|
||||
public Mixin::Index<CLogPattern>,
|
||||
public Mixin::String<CLogPattern>,
|
||||
public Mixin::Icon<CLogPattern>
|
||||
@@ -107,6 +109,12 @@ namespace BlackMisc
|
||||
//! \copydoc BlackMisc::Mixin::DBusByMetaClass::unmarshallFromDbus()
|
||||
void unmarshallFromDbus(const QDBusArgument &argument);
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::DataStreamByMetaClass::marshalToDataStream
|
||||
void marshalToDataStream(QDataStream &stream) const;
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::DataStreamByMetaClass::unmarshalFromDataStream
|
||||
void unmarshalFromDataStream(QDataStream &stream);
|
||||
|
||||
private:
|
||||
bool checkInvariants() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user