The open source OpenXR runtime
at main 22 lines 683 B view raw
1// Copyright 2020-2023, Collabora, Ltd. 2// SPDX-License-Identifier: BSL-1.0 3// Author: Rylie Pavlik <rylie.pavlik@collabora.com> 4// Inline implementations: do not include on its own! 5 6#pragma once 7 8#include "android.content.h" 9 10namespace wrap { 11namespace android::provider { 12inline std::string Settings::ACTION_VR_LISTENER_SETTINGS() { 13 return get(Meta::data().ACTION_VR_LISTENER_SETTINGS, Meta::data().clazz()); 14} 15 16inline bool Settings::canDrawOverlays(const content::Context &context) { 17 return Meta::data().clazz().call<bool>(Meta::data().canDrawOverlays, 18 context.object()); 19} 20 21} // namespace android::provider 22} // namespace wrap