File include/brisk/core/App.hpp¶
AppVersion class¶
AppVersion
AppVersionRepresents the version of an application.
This struct holds information about an application's version, including major, minor, release, and patch numbers, as well as an optional suffix. It provides a method to convert the version information into a human-readable string.
major variable (AppVersion::major)¶
unsigned int major = 0
Major version number
minor variable (AppVersion::minor)¶
unsigned int minor = 0
Minor version number
release variable (AppVersion::release)¶
unsigned int release = 0
Release number
patch variable (AppVersion::patch)¶
unsigned int patch = 0
Patch number
suffix variable (AppVersion::suffix)¶
std::string suffix
Optional suffix for the version
operator== function (AppVersion::operator==)¶
constexpr bool
operator==(const AppVersion &) const noexcept = default
Compares this version to another for equality.
Param other The version to compare against.
Returns true if the versions are equal, false otherwise.
string function (AppVersion::string)¶
std::string string() const
Converts the version to a string representation.
Returns A string representing the version in the format "major.minor.release.patch[suffix]".
AppMetadata class¶
AppMetadata
AppMetadataHolds metadata for an application.
This struct contains information about the application, such as its vendor, name, description, homepage URL, copyright information, and version.
vendor variable (AppMetadata::vendor)¶
std::string vendor
Vendor (manufacturer) name.
name variable (AppMetadata::name)¶
std::string name
Application name.
description variable (AppMetadata::description)¶
std::string description
Application description.
homepage variable (AppMetadata::homepage)¶
std::string homepage
URL of the application's homepage.
copyright variable (AppMetadata::copyright)¶
std::string copyright
Copyright information with the © symbol.
version variable (AppMetadata::version)¶
AppVersion version
Version information of the application.
appMetadata variable¶
extern AppMetadata appMetadata
Global variable holding application metadata.
This variable is used to store metadata about the application, including version and other relevant details.
Auto-generated from sources, Revision , https://github.com/brisklib/brisk/blob//include/brisk/