The open source OpenXR runtime
at main 20 lines 665 B view raw
1// Copyright 2020-2021, Collabora, Ltd. 2// SPDX-License-Identifier: BSL-1.0 3// Author: Rylie Pavlik <rylie.pavlik@collabora.com> 4 5#include "android.app.h" 6 7namespace wrap { 8namespace android::app { 9Service::Meta::Meta() : MetaBaseDroppable(Service::getTypeName()) { 10 MetaBaseDroppable::dropClassRef(); 11} 12Activity::Meta::Meta() 13 : MetaBaseDroppable(Activity::getTypeName()), 14 getWindow(classRef().getMethod("getWindow", "()Landroid/view/Window;")), 15 setVrModeEnabled(classRef().getMethod( 16 "setVrModeEnabled", "(ZLandroid/content/ComponentName;)V")) { 17 MetaBaseDroppable::dropClassRef(); 18} 19} // namespace android::app 20} // namespace wrap