upravy opravy
This commit is contained in:
@@ -21,7 +21,6 @@ namespace Reader
|
||||
|
||||
bool readLicence(LicenceInfoGeneral *licences);
|
||||
bool getLicenceInfo(void *ptr);
|
||||
bool getLicenceItemInfo(int protocolId, void *returnItemStructure);
|
||||
void getLicenceItems();
|
||||
|
||||
};
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define LICENCE_READER_H_
|
||||
|
||||
#include "utils.h"
|
||||
#include "SDCard.h"
|
||||
#include "licReaderELC1.h"
|
||||
#include "licReaderELC2.h"
|
||||
#include "licReaderELC3.h"
|
||||
@@ -28,24 +29,22 @@ public:
|
||||
string operationErrors = "";
|
||||
bool argumentsCorrect = false;
|
||||
ErrorMessage error;
|
||||
Licence2 *licence2;
|
||||
Licence1 *licence1;
|
||||
|
||||
|
||||
SDCardInfo sdCardInfo {};
|
||||
|
||||
LicenceReader();
|
||||
~LicenceReader();
|
||||
bool init(int elcType, InitStructure &initStructure);
|
||||
bool initread(int elcType, InitStructure &initStructure);
|
||||
bool getLicenceInfo(void *returnStructure);
|
||||
bool getLicenceItemInfo(int protocolId, void *returnItemStructure);
|
||||
|
||||
LicenceInfoGeneral licenceInfo;
|
||||
bool getLicenceInfo(void *returnStructure); //vrací informace o všech licenčních bodech základě předané návratové struktury
|
||||
bool getLicenceItemInfo(int protocolId, void *returnItemStructure); //vrací informace o licenčím bodu na základě id protocolu a předané návratové struktury
|
||||
LicenceInfoGeneral licenceInfo {}; //pole licencí
|
||||
|
||||
private:
|
||||
LicenceIdentification licIdentification;
|
||||
Licence2 *licence2 {}; //interní struktura pro zpracování licence ELC2
|
||||
Licence1 *licence1 {}; //interní struktura pro zpracování licence ELC1
|
||||
LicenceIdentification licIdentification {};
|
||||
string configFileName = "";
|
||||
void *licence = nullptr;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user