Monado OpenXR Runtime
Loading...
Searching...
No Matches
XRTVRNotifications.hpp
Go to the documentation of this file.
1// Copyright 2026, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Implementation of the latest IVRNotifications_002 interface version.
6 *
7 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
8 * @ingroup openvr_interfaces
9 */
10
11#pragma once
12
13#include "openvr_interfaces_unified.h"
14#include "openvr_forward_macros.h"
15
16#include "XRTVRClientCore.hpp"
17
18
19namespace xrt::state_trackers::openvr {
20
21using namespace vr;
22
23class XRTVRNotifications_002 : public vr::IVRNotifications_002
24{
25private:
27
28public:
30
31 virtual ~XRTVRNotifications_002() = default;
32
33 FnTable_IVRNotifications_002();
34
35 EVRNotificationError
36 CreateNotification(VROverlayHandle_t ulOverlayHandle,
37 uint64_t ulUserValue,
38 EVRNotificationType type,
39 const char *pchText,
40 EVRNotificationStyle style,
41 const NotificationBitmap_t *pImage,
42 VRNotificationId *pNotificationId) override;
43
44 EVRNotificationError
45 RemoveNotification(VRNotificationId notificationId) override;
46};
47
48} // namespace xrt::state_trackers::openvr
Implementation of the latest IVRClientCore interface version.
Definition XRTVRClientCore.hpp:152
Definition XRTVRNotifications.hpp:24
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15