Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Common/LtsLicence/lts_licence.h
T
torstenandCopilot d6b6ffce7c Apply clang-format to Lts/Common and DTC/enum headers
- Formatted all CodeGen module files (9 files)
- Formatted LtsAppDescriptor module files
- Formatted LtsAppManager/AppChooser files
- Applied clang-format to all DTC and enum headers across modules
- Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/)

Cosmetic changes only, no functional modifications.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-19 14:46:29 +02:00

30 lines
568 B
C++

#pragma once
#include "ltslicence_export.h"
#include <QDateTime>
#include <QString>
#include <QVector>
namespace LtsLicence
{
struct LTSLICENCE_EXPORT Licence
{
QString name;
bool ignoreMaxCount = false;
bool ignoreExpiration = false;
int maxCount = 0;
QDateTime expiration;
int licenceRefCount = 0;
QString toString() const;
};
LTSLICENCE_EXPORT QVector<Licence> readLicences(const QByteArray& unencryptedXmlData);
LTSLICENCE_EXPORT QByteArray writeUnencryptedLicences(const QVector<Licence>& licences);
} // namespace LtsLicence