42 lines
717 B
C
42 lines
717 B
C
#ifndef LICENSES_H
|
|
#define LICENSES_H
|
|
|
|
// This File(licenses.h) is generated with CMake
|
|
|
|
struct LicenseInfo {
|
|
const char* name;
|
|
const char* version;
|
|
const char* url;
|
|
const char* license;
|
|
|
|
LicenseInfo()
|
|
: name(0)
|
|
, version(0)
|
|
, url(0)
|
|
, license(0)
|
|
{}
|
|
|
|
LicenseInfo(const char* name, const char* version, const char* url, const char* license)
|
|
: name(name)
|
|
, version(version)
|
|
, url(url)
|
|
, license(license)
|
|
{}
|
|
|
|
bool isEmpty() const
|
|
{
|
|
return (name == 0 && version == 0 && url == 0 && license == 0);
|
|
}
|
|
};
|
|
|
|
// License Textfiles
|
|
@LICENSES@
|
|
|
|
static const LicenseInfo licenseApp = @LICENSE_APP@;
|
|
|
|
static const LicenseInfo licenses3rdParties[] = {
|
|
@LICENSE_ARRAY@
|
|
};
|
|
|
|
#endif //LICENSES_H
|