mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-07 17:20:14 +01:00
22 lines
672 B
C++
22 lines
672 B
C++
#pragma once
|
|
|
|
#include <QStringList>
|
|
|
|
#include "emu_settings_type.h"
|
|
#include "yaml-cpp/yaml.h"
|
|
|
|
// Helper methods to interact with YAML and the config settings.
|
|
namespace cfg_adapter
|
|
{
|
|
YAML::Node get_node(const YAML::Node& node, cfg_location::const_iterator begin, cfg_location::const_iterator end);
|
|
|
|
/** Syntactic sugar to get a setting at a given config location. */
|
|
YAML::Node get_node(const YAML::Node& node, cfg_location loc);
|
|
|
|
/** Returns possible options for values for some particular setting.*/
|
|
QStringList get_options(cfg_location location);
|
|
|
|
/** Returns dynamic property for some particular setting.*/
|
|
bool get_is_dynamic(emu_settings_type type);
|
|
}
|