25 struct ZandronumVersion |
25 struct ZandronumVersion |
26 { |
26 { |
27 QString name; |
27 QString name; |
28 QString binaryPath; |
28 QString binaryPath; |
29 bool isRelease = false; |
29 bool isRelease = false; |
|
30 ZandronumVersion() {} |
|
31 ZandronumVersion(const QString& name, const QString& binaryPath, const bool isRelease) : |
|
32 name{name}, |
|
33 binaryPath{binaryPath}, |
|
34 isRelease{isRelease} {} |
30 }; |
35 }; |
31 |
36 |
32 inline QDataStream& operator<< (QDataStream& out, const ZandronumVersion& version) |
37 inline QDataStream& operator<< (QDataStream& out, const ZandronumVersion& version) |
33 { |
38 { |
34 return (out << version.name << version.binaryPath << version.isRelease); |
39 return (out << version.name << version.binaryPath << version.isRelease); |