čištění a další upravy
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user