mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-27 00:51:46 +00:00
29 lines
1.3 KiB
C++
29 lines
1.3 KiB
C++
// Copyright 2020-2021, Collabora, Ltd.
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
/*!
|
|
* @file
|
|
* @brief Out-of-line implementations for partially-generated wrapper for the
|
|
* `org.freedesktop.monado.auxiliary` Java package.
|
|
* @author Ryan Pavlik <ryan.pavlik@collabora.com>
|
|
* @ingroup aux_android
|
|
*/
|
|
|
|
#include "org.freedesktop.monado.auxiliary.hpp"
|
|
|
|
namespace wrap {
|
|
namespace org::freedesktop::monado::auxiliary {
|
|
MonadoView::Meta::Meta(jni::jclass clazz)
|
|
: MetaBase(MonadoView::getTypeName(), clazz),
|
|
attachToActivity(classRef().getStaticMethod(
|
|
"attachToActivity", "(Landroid/app/Activity;J)Lorg/freedesktop/monado/auxiliary/MonadoView;")),
|
|
attachToActivity1(classRef().getStaticMethod(
|
|
"attachToActivity", "(Landroid/app/Activity;)Lorg/freedesktop/monado/auxiliary/MonadoView;")),
|
|
getDisplayMetrics(classRef().getStaticMethod("getDisplayMetrics",
|
|
"(Landroid/app/Activity;)Landroid/util/DisplayMetrics;")),
|
|
getNativePointer(classRef().getMethod("getNativePointer", "()J")),
|
|
markAsDiscardedByNative(classRef().getMethod("markAsDiscardedByNative", "()V")),
|
|
waitGetSurfaceHolder(classRef().getMethod("waitGetSurfaceHolder", "(I)Landroid/view/SurfaceHolder;"))
|
|
{}
|
|
} // namespace org::freedesktop::monado::auxiliary
|
|
} // namespace wrap
|