Oddělení informace o licenci
This commit is contained in:
@@ -23,6 +23,12 @@ struct InitStructure
|
||||
string cid_csd_filePath = "";
|
||||
};
|
||||
|
||||
/// @brief struktura pro informaci o licenci
|
||||
struct LicenceInfo
|
||||
{
|
||||
string licenceFileName = "";
|
||||
};
|
||||
|
||||
class LicenceReader
|
||||
{
|
||||
|
||||
@@ -32,6 +38,7 @@ public:
|
||||
bool argumentsCorrect = false;
|
||||
ErrorMessage error;
|
||||
SDCardInfo sdCardInfo {};
|
||||
LicenceInfo licInfo {};
|
||||
|
||||
LicenceReader();
|
||||
~LicenceReader();
|
||||
@@ -39,13 +46,14 @@ public:
|
||||
bool initread(int elcType, InitStructure &initStructure);
|
||||
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:
|
||||
Licence2 *licence2 {}; //interní struktura pro zpracování licence ELC2
|
||||
Licence1 *licence1 {}; //interní struktura pro zpracování licence ELC1
|
||||
LicenceIdentification licIdentification {};
|
||||
string configFileName = "";
|
||||
LicenceInfoGeneral licencesInfo {}; //pole licencí
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user