Upravy z testování Filip
This commit is contained in:
@@ -83,6 +83,7 @@ bool LicenceGenerator::processInputConfiguration()
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << "file: " << fileName << "\n";
|
||||
throw LicenceException((int)GeneralError::FileOpenError, "Unable to open the config file.");
|
||||
}
|
||||
|
||||
@@ -118,15 +119,15 @@ void LicenceGenerator::createLicenceELC2()
|
||||
switch (this->licIdentification.licCompatibility)
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
Generator::Licence2 licence = Generator::Licence2(licData.cid,licData.csd,licData.doc);
|
||||
licence.createLicence();
|
||||
/*
|
||||
licence.createLicence();
|
||||
// LicenceELC21 licence = LicenceELC21(this->licData);
|
||||
// licence.createLicence();
|
||||
*/
|
||||
break;
|
||||
break;
|
||||
}
|
||||
default: throw LicenceException((int)GeneralError::CompatibilityTypeNotImplemented, "Compatibility not implemented.");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void LicenceGenerator::createLicenceELC3()
|
||||
|
||||
Reference in New Issue
Block a user