Heart 1.4.918.d927d9c
Heart is base back end library for your c++ Qt projects.
Loading...
Searching...
No Matches
closeconnection.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2025 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
9#ifndef CLOSECONNECTION_H
10#define CLOSECONNECTION_H
11
12#include "abstractdata.h"
13
14
15namespace QH{
16namespace PKG {
17
28class HEARTSHARED_EXPORT CloseConnection: public AbstractData
29{
30 QH_PACKAGE("CloseConnection")
31
32public:
34
35 // StreamBase interface
36protected:
37 QDataStream &fromStream(QDataStream &stream) override;
38 QDataStream &toStream(QDataStream &stream) const override;
39};
40}
41}
42#endif // CLOSECONNECTION_H
#define QH_PACKAGE(S)
QH_PACKAGE This macross prepare data to send and create a global id for package. For get global id us...
AbstractData()
AbstractData - Base constructor of this object.
QDataStream & fromStream(QDataStream &stream) override
fromStream This method should be read all bytes from the stream object and full the current object.
QDataStream & toStream(QDataStream &stream) const override
fromStream This method should be write all members of the current object to the stream object.
The PKG namesapce - this namespace contains all default packages of the Heart library....
Definition heart.h:211
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13