ELC 3
This commit is contained in:
@@ -3,9 +3,29 @@
|
||||
#ifndef ELC3_READER__H
|
||||
#define ELC3_READER__H
|
||||
|
||||
#include "utils.h"
|
||||
#include "licenceCommon.h"
|
||||
#include "licenceELC3.h"
|
||||
|
||||
namespace Reader
|
||||
{
|
||||
|
||||
class Licence3 : public LicenceELC3
|
||||
{
|
||||
public:
|
||||
LicenceELC3Info licenceInfo;
|
||||
|
||||
Licence3();
|
||||
~Licence3();
|
||||
Licence3(LicenceIdentification &licIdentification);
|
||||
|
||||
bool readLicence(LicenceInfoGeneral *licences);
|
||||
bool getLicenceInfo(void *ptr);
|
||||
void getLicenceItems();
|
||||
|
||||
private:
|
||||
bool getUID();
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,6 +21,7 @@ struct InitStructure
|
||||
int compatibility = 0;
|
||||
string licenceFilePath = "";
|
||||
string cid_csd_filePath = "";
|
||||
string uid_filePath = "";
|
||||
};
|
||||
|
||||
/// @brief struktura pro informaci o licenci
|
||||
@@ -49,6 +50,7 @@ public:
|
||||
bool getLicenceItemInfo(int protocolId, void *returnItemStructure); //vrací informace o licenčím bodu na základě id protocolu a předané návratové struktury
|
||||
|
||||
private:
|
||||
Licence3 *licence3 {}; //interní struktura pro zpracování licence ELC2
|
||||
Licence2 *licence2 {}; //interní struktura pro zpracování licence ELC2
|
||||
Licence1 *licence1 {}; //interní struktura pro zpracování licence ELC1
|
||||
LicenceIdentification licIdentification {};
|
||||
|
||||
Reference in New Issue
Block a user