mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Shifted DBus operators to CBaseStreamStringifier, much easier to provide streaming - especially for derived classes.
Still required but unwanted overloaded DBus operator in aviomodulator.h - no compilation without them. Need to be removed. Enabled more classes for DBus.
This commit is contained in:
@@ -50,5 +50,14 @@ bool CAltitude::operator !=(const CAltitude &otherAltitude)
|
||||
return !((*this) == otherAltitude);
|
||||
}
|
||||
|
||||
/*
|
||||
* Register metadata
|
||||
*/
|
||||
void CAltitude::registerMetadata()
|
||||
{
|
||||
qRegisterMetaType<CAltitude>(typeid(CAltitude).name());
|
||||
qDBusRegisterMetaType<CAltitude>();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user