- 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>
30 lines
568 B
C++
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
|