server: base server code.
This commit is contained in:
13
Protocol/InfoClient.cpp
Normal file
13
Protocol/InfoClient.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "InfoClient.h"
|
||||
|
||||
QDataStream& operator<<(QDataStream& data, const InfoClient& info)
|
||||
{
|
||||
info.serialize(data);
|
||||
return data;
|
||||
}
|
||||
|
||||
QDataStream& operator>>(QDataStream& data, InfoClient& info)
|
||||
{
|
||||
info.deserialize(data);
|
||||
return data;
|
||||
}
|
||||
Reference in New Issue
Block a user