Monado OpenXR Runtime
driver_manager.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 IVRDriverManager 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
14class DriverManager : public vr::IVRDriverManager
15{
16public:
17 uint32_t
18 GetDriverCount() const override;
19
20 uint32_t
21 GetDriverName(vr::DriverId_t nDriver, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize) override;
22
23 vr::DriverHandle_t
24 GetDriverHandle(const char *pchDriverName) override;
25
26 bool
27 IsEnabled(vr::DriverId_t nDriver) const override;
28};
Definition: driver_manager.hpp:15