FifeGUI 0.2.0
A C++ GUI library designed for games.
fcn::app_version Class Reference

#include <version.hpp>

Static Public Member Functions

static constexpr char const * get_copyright ()
static constexpr char const * get_description ()
static constexpr char const * get_homepage ()
static constexpr char const * get_license ()
static constexpr char const * get_name ()
static constexpr char const * get_nice_name ()
static constexpr char const * get_version ()
static constexpr int const * get_version_num ()

Static Public Attributes

static constexpr std::string_view copyright = "Copyright (c) Fifengine contributors, 2012-2026."
static constexpr std::string_view description = "FifeGUI is a C++ GUI library designed for games."
static constexpr std::string_view homepage = "https://github.com/fifengine/fifechan"
static constexpr std::string_view license = "LGPL-2.1-or-later"
static constexpr std::string_view name = "fifechan"
static constexpr std::string_view nice_name = "fifechan"
static constexpr semantic_version semver
static constexpr std::string_view version = "0.2.0"
static constexpr int version_id = (0 * 10000) + (2 * 100) + 0

Detailed Description

Static application version and metadata.

Definition at line 60 of file version.hpp.

Member Function Documentation

◆ get_copyright()

constexpr char const * fcn::app_version::get_copyright ( )
inlinestaticconstexpr

Copyright text for the project.

Definition at line 165 of file version.hpp.

References copyright.

◆ get_description()

constexpr char const * fcn::app_version::get_description ( )
inlinestaticconstexpr

Short description of the project.

Definition at line 141 of file version.hpp.

References description.

◆ get_homepage()

constexpr char const * fcn::app_version::get_homepage ( )
inlinestaticconstexpr

Project homepage URL.

Definition at line 157 of file version.hpp.

References homepage.

◆ get_license()

constexpr char const * fcn::app_version::get_license ( )
inlinestaticconstexpr

Get the license string for the project.

Definition at line 133 of file version.hpp.

References license.

◆ get_name()

constexpr char const * fcn::app_version::get_name ( )
inlinestaticconstexpr

Getters - c_str() types.

Definition at line 117 of file version.hpp.

References name.

◆ get_nice_name()

constexpr char const * fcn::app_version::get_nice_name ( )
inlinestaticconstexpr

Name suitable for display.

Definition at line 125 of file version.hpp.

References nice_name.

◆ get_version()

constexpr char const * fcn::app_version::get_version ( )
inlinestaticconstexpr

Get the textual project version.

Definition at line 149 of file version.hpp.

References version.

Referenced by fcn::fifechanVersion().

◆ get_version_num()

constexpr int const * fcn::app_version::get_version_num ( )
inlinestaticconstexpr

Get pointer to numeric version id.

Definition at line 173 of file version.hpp.

References version_id.

Member Data Documentation

◆ copyright

std::string_view fcn::app_version::copyright = "Copyright (c) Fifengine contributors, 2012-2026."
staticconstexpr

Copyright notice text.

Definition at line 97 of file version.hpp.

Referenced by get_copyright().

◆ description

std::string_view fcn::app_version::description = "FifeGUI is a C++ GUI library designed for games."
staticconstexpr

Short descriptive text for the project.

Definition at line 87 of file version.hpp.

Referenced by get_description().

◆ homepage

std::string_view fcn::app_version::homepage = "https://github.com/fifengine/fifechan"
staticconstexpr

Project homepage URL.

Definition at line 92 of file version.hpp.

Referenced by get_homepage().

◆ license

std::string_view fcn::app_version::license = "LGPL-2.1-or-later"
staticconstexpr

SPDX or textual license identifier.

Definition at line 82 of file version.hpp.

Referenced by get_license().

◆ name

std::string_view fcn::app_version::name = "fifechan"
staticconstexpr

Machine friendly package name.

Definition at line 72 of file version.hpp.

Referenced by get_name().

◆ nice_name

std::string_view fcn::app_version::nice_name = "fifechan"
staticconstexpr

User facing short product name.

Definition at line 67 of file version.hpp.

Referenced by get_nice_name().

◆ semver

semantic_version fcn::app_version::semver
staticconstexpr
Initial value:
{
.major = 0,
.minor = 2,
.patch = 0,
}

Semantic version instance for compile-time access.

Definition at line 101 of file version.hpp.

◆ version

std::string_view fcn::app_version::version = "0.2.0"
staticconstexpr

Version string suitable for display.

Definition at line 77 of file version.hpp.

Referenced by get_version().

◆ version_id

int fcn::app_version::version_id = (0 * 10000) + (2 * 100) + 0
staticconstexpr

Numeric version id computed from major/minor/patch.

Definition at line 110 of file version.hpp.

Referenced by get_version_num().


The documentation for this class was generated from the following file: