11#include "humanreadableobject.h"
25 operator bool()
const;
27 unsigned short min()
const;
28 void setMin(
unsigned short newMin);
29 unsigned short max()
const;
30 void setMax(
unsigned short newMax);
37 int getMaxCompatible(
const DistVersion& distVersion)
const;
44 int getMinCompatible(
const DistVersion& distVersion)
const;
51 bool isSupport(
unsigned short version)
const;
53 QString toString()
const override;
57 QDataStream &fromStream(QDataStream &stream)
override;
58 QDataStream &toStream(QDataStream &stream)
const override;
63 unsigned short _min = 0;
66 unsigned short _max = 0;
The DistVersion class This is information of supported versions of the destinations api.
The StreamBase class add support streaming data for all children classes. For correctly working all s...
#define HEARTSHARED_EXPORT
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
QHash< QString, DistVersion > VersionData
VersionData This is array of all available apis and supported its versions.
QHash< unsigned short, DistVersion > PackagesVersionData
PackagesVersionData This is some as VersionData but for int commands.