Files
Eberhard Graether c808fa8732 ui: Show Sourcetrail license on top in licenses window
* updated versions and license files of some 3rd party libraries
2019-11-18 10:41:08 +01:00

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