HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
metadata.hpp
1// Copyright Take Vos 2021.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "file/URL.hpp"
8#include "semantic_version.hpp"
9#include <string>
10
11namespace hi::inline v1 {
12
15class metadata {
16public:
22
28
35
39
45
49
55
66 [[nodiscard]] static metadata &application() noexcept;
67
73 [[nodiscard]] static metadata const &library() noexcept;
74};
75
76} // namespace hi::inline v1
Defines the URL class.
DOXYGEN BUG.
Definition algorithm.hpp:13
Metadata for a library or application.
Definition metadata.hpp:15
URL homepage
The homepage of the application or library.
Definition metadata.hpp:48
std::string license
The copyright license used for distribution.
Definition metadata.hpp:44
std::string name
The name of the application or library.
Definition metadata.hpp:21
static metadata & application() noexcept
The global application metadata.
std::string vendor
Name of the vendor of the application or library.
Definition metadata.hpp:34
std::string description
Description of the application or library.
Definition metadata.hpp:54
semantic_version version
The version number of the application or library.
Definition metadata.hpp:38
std::string display_name
Display name of the application or library.
Definition metadata.hpp:27
Definition semantic_version.hpp:12