NAH 1.0.6
Native Application Host - Library API Reference
Loading...
Searching...
No Matches
host_profile.hpp File Reference
#include "nah/types.hpp"
#include <string>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  nah::HostProfile
 
struct  nah::HostProfileParseResult
 
struct  nah::HostProfileRecord
 
struct  nah::HostProfileValidation
 

Namespaces

namespace  nah
 

Functions

HostProfile nah::get_builtin_empty_profile ()
 
WarningAction nah::get_warning_action (const HostProfile &profile, const std::string &warning_key)
 
WarningAction nah::get_warning_action (const HostProfile &profile, Warning warning)
 
bool nah::is_override_permitted (const std::string &target, const HostProfile &profile)
 
HostProfileValidation nah::parse_host_profile (const std::string &toml, HostProfileRecord &out)
 
HostProfileParseResult nah::parse_host_profile_full (const std::string &toml_str, const std::string &source_path="")
 
bool nah::version_allowed_by_profile (const std::string &version, const HostProfile &profile)
 
bool nah::version_matches_pattern (const std::string &version, const std::string &pattern)