Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
header.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2024 QuasarApp.
3 * Distributed under the lgplv3 software license, see the accompanying
4 * Everyone is permitted to copy and distribute verbatim copies
5 * of this license document, but changing it is not allowed.
6*/
7
8#ifndef ABSTRACTHEADER_H
9#define ABSTRACTHEADER_H
10#include "heart_global.h"
11
12
13namespace QH {
14
18#pragma pack(push, 1)
23 unsigned short command = 0; //2 bytes
24
28 const unsigned char headerVersion = 1; //3 bytes
29
33 unsigned int size = 0; //7 bytes
34
38 unsigned int hash = 0; //11 bytes
39
44 unsigned int triggerHash = 0; //15 bytes
45
49 unsigned long long unusedSpace1 = 0; //23 bytes
50 unsigned long long unusedSpace2 = 0; //31 bytes
51 unsigned char unusedSpace3 = 0; //32 bytes
52
56 Header();
57 ~Header() = default;
58
63 bool isValid() const;
64
68 void reset();
69
74 QString toString() const;
75
76};
77#pragma pack(pop)
78}
79
80
81
82#endif // ABSTRACTHEADER_H
#define HEARTSHARED_EXPORT
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13
The Header struct 32 bytes.
Definition header.h:19
~Header()=default