Monado OpenXR Runtime
paths.hpp
Go to the documentation of this file.
1// Copyright 2023, Shawn Wallace
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief OpenVR IVRPaths interface header.
6 * @author Shawn Wallace <yungwallace@live.com>
7 * @ingroup drv_steamvr_lh
8 */
9
10#pragma once
11
12#include "openvr_driver.h"
13
14namespace vr {
15inline const char *IVRPaths_Version = "IVRPaths_001";
16typedef uint64_t PathHandle_t;
17} // namespace vr
18
19/** This interface is missing in the C++ header but present in the C one, and the lighthouse driver requires it. */
20class Paths
21{
22 virtual vr::ETrackedPropertyError
23 ReadPathBatch(vr::PropertyContainerHandle_t ulRootHandle,
24 struct PathRead_t *pBatch,
25 uint32_t unBatchEntryCount);
26 virtual vr::ETrackedPropertyError
27 WritePathBatch(vr::PropertyContainerHandle_t ulRootHandle,
28 struct PathWrite_t *pBatch,
29 uint32_t unBatchEntryCount);
30 virtual vr::ETrackedPropertyError
31 StringToHandle(vr::PathHandle_t *pHandle, char *pchPath);
32 virtual vr::ETrackedPropertyError
33 HandleToString(vr::PathHandle_t pHandle, char *pchBuffer, uint32_t unBufferSize, uint32_t *punBufferSizeUsed);
34};
This interface is missing in the C++ header but present in the C one, and the lighthouse driver requi...
Definition: paths.hpp:21
Definitions missing from C++ header, present in C.
Definition: blockqueue.hpp:15