12#include "openvr_driver.h"
28 Settings(
const std::string &steam_install,
const std::string &steamvr_install,
Context *context);
31 GetSettingsErrorNameFromEnum(vr::EVRSettingsError eError)
override;
34 SetBool(
const char *pchSection,
35 const char *pchSettingsKey,
37 vr::EVRSettingsError *peError =
nullptr)
override;
39 SetInt32(
const char *pchSection,
40 const char *pchSettingsKey,
42 vr::EVRSettingsError *peError =
nullptr)
override;
44 SetFloat(
const char *pchSection,
45 const char *pchSettingsKey,
47 vr::EVRSettingsError *peError =
nullptr)
override;
49 SetString(
const char *pchSection,
50 const char *pchSettingsKey,
52 vr::EVRSettingsError *peError =
nullptr)
override;
58 GetBool(
const char *pchSection,
const char *pchSettingsKey, vr::EVRSettingsError *peError =
nullptr)
override;
60 GetInt32(
const char *pchSection,
const char *pchSettingsKey, vr::EVRSettingsError *peError =
nullptr)
override;
62 GetFloat(
const char *pchSection,
const char *pchSettingsKey, vr::EVRSettingsError *peError =
nullptr)
override;
64 GetString(
const char *pchSection,
65 const char *pchSettingsKey,
66 VR_OUT_STRING()
char *pchValue,
68 vr::EVRSettingsError *peError =
nullptr)
override;
71 RemoveSection(
const char *pchSection, vr::EVRSettingsError *peError =
nullptr)
override;
73 RemoveKeyInSection(
const char *pchSection,
74 const char *pchSettingsKey,
75 vr::EVRSettingsError *peError =
nullptr)
override;
Definition: context.hpp:57
Definition: settings.hpp:18
A JSONNode wraps a cJSON object and presents useful functions for accessing the different properties ...
Definition: u_json.hpp:75