čištění a další upravy

This commit is contained in:
2023-12-08 10:30:44 +01:00
parent f92b2c708f
commit 892ae13bf2
26 changed files with 294 additions and 72 deletions

View File

@@ -106,6 +106,10 @@ struct LicenceIdentification
uint8_t licCompatibility = 1; // identikator hlavního ELC
uint16_t licItemsCount = 0;
string cid_cds_path = "";
string licenceFilePath = "";
};
struct LicData
@@ -165,17 +169,14 @@ struct LicenceInfo11
class LicenceException : public std::exception
{
public:
// Constructor with int and string parameters
LicenceException(int errorCode, const std::string &errorMessage)
: errorCode_(errorCode), errorMessage_(errorMessage) {}
// Override the what() function to provide a description of the exception
const char *what() const noexcept override
{
return errorMessage_.c_str();
}
// Getter functions for the exception members
int getErrorCode() const
{
return errorCode_;