34 FnTable_IVRSettings_001();
38 Forward_IVRSettings_GetSettingsErrorNameFromEnum();
39 Forward_IVRSettings_Sync();
42 GetBool(
const char *pchSection,
43 const char *pchSettingsKey,
45 EVRSettingsError *peError =
nullptr)
override
48 OPENVR_LOGGER_INIT(logger);
51 logger,
"GetBool(pchSection=%s, pchSettingsKey=%s, bDefaultValue=%d, peError=%p) -> false",
false,
52 pchSection, pchSettingsKey,
static_cast<int>(bDefaultValue),
static_cast<const void *
>(peError));
55 Forward_IVRSettings_SetBool();
58 GetInt32(
const char *pchSection,
59 const char *pchSettingsKey,
60 int32_t nDefaultValue,
61 EVRSettingsError *peError =
nullptr)
override
64 OPENVR_LOGGER_INIT(logger);
66 SET_ERROR(peError, EVRSettingsError::VRSettingsError_ReadFailed);
69 logger,
"GetInt32(pchSection=%s, pchSettingsKey=%s, nDefaultValue=%lld, peError=%p) -> 0", 0,
70 pchSection, pchSettingsKey,
static_cast<long long>(nDefaultValue),
71 static_cast<const void *
>(peError));
74 Forward_IVRSettings_SetInt32();
77 GetFloat(
const char *pchSection,
78 const char *pchSettingsKey,
80 EVRSettingsError *peError =
nullptr)
override
83 OPENVR_LOGGER_INIT(logger);
85 SET_ERROR(peError, EVRSettingsError::VRSettingsError_ReadFailed);
88 logger,
"GetFloat(pchSection=%s, pchSettingsKey=%s, flDefaultValue=%f, peError=%p) -> 0.0", 0.0f,
89 pchSection, pchSettingsKey, flDefaultValue,
static_cast<const void *
>(peError));
92 Forward_IVRSettings_SetFloat();
95 GetString(
const char *pchSection,
96 const char *pchSettingsKey,
97 VR_OUT_STRING()
char *pchValue,
99 const char *pchDefaultValue,
100 EVRSettingsError *peError =
nullptr)
override
103 OPENVR_LOGGER_INIT(logger);
105 SET_ERROR(peError, EVRSettingsError::VRSettingsError_ReadFailed);
108 "GetString(pchSection=%s, pchSettingsKey=%s, pchValue=%p, unValueLen=%llu, "
109 "pchDefaultValue=%s, peError=%p)",
110 pchSection, pchSettingsKey,
static_cast<const void *
>(pchValue),
111 static_cast<unsigned long long>(unValueLen), pchDefaultValue,
112 static_cast<const void *
>(peError));
115 Forward_IVRSettings_SetString();
116 Forward_IVRSettings_RemoveSection();
117 Forward_IVRSettings_RemoveKeyInSection();
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15
#define SET_ERROR(error_ptr, ERROR)
Helper macro to set an OpenVR error pointer if it's not null.
Definition openvr_error.hpp:23
#define OPENVR_LOG_UNIMPLEMENTED(logger, fmt,...)
Specialized macro for logging an unimplemented function.
Definition openvr_logger.hpp:51
#define OPENVR_LOG_UNIMPLEMENTED_RET(logger, fmt, ret,...)
Specialized macro for logging an unimplemented function and returning a value.
Definition openvr_logger.hpp:57