SyncMessages.cpp   SyncMessages.cpp 
skipping to change at line 163 skipping to change at line 163
{ {
Q_UNUSED(dataSize); Q_UNUSED(dataSize);
stream>>stelLocation; stream>>stelLocation;
stream>>totalDuration; stream>>totalDuration;
stream>>timeToGo; stream>>timeToGo;
return !stream.status(); return !stream.status();
} }
void Selection::serialize(QDataStream &stream) const void Selection::serialize(QDataStream &stream) const
{ {
stream<<selectedObjectNames; stream<<selectedObjects;
} }
bool Selection::deserialize(QDataStream &stream, tPayloadSize dataSize) bool Selection::deserialize(QDataStream &stream, tPayloadSize dataSize)
{ {
Q_UNUSED(dataSize); Q_UNUSED(dataSize);
stream>>selectedObjectNames; stream>>selectedObjects;
return !stream.status();
}
void StelPropertyUpdate::serialize(QDataStream &stream) const
{
writeString(stream,propId);
stream<<value;
}
bool StelPropertyUpdate::deserialize(QDataStream &stream, tPayloadSize data
Size)
{
Q_UNUSED(dataSize);
propId = readString(stream);
stream>>value;
return !stream.status();
}
void View::serialize(QDataStream &stream) const
{
stream<<viewAltAz;
}
bool View::deserialize(QDataStream &stream, tPayloadSize dataSize)
{
if(dataSize != 3 * sizeof(double))
return false;
stream>>viewAltAz;
return !stream.status();
}
void Fov::serialize(QDataStream &stream) const
{
stream<<fov;
}
bool Fov::deserialize(QDataStream &stream, tPayloadSize dataSize)
{
if(dataSize != sizeof(double))
return false;
stream>>fov;
return !stream.status(); return !stream.status();
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 47 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/