···11+// Copyright 2020-2025, Collabora, Ltd.
22+// SPDX-License-Identifier: BSL-1.0
33+/*!
44+ * @file
55+ * @brief Dependency injection interface for about activity menu.
66+ * @author Rylie Pavlik <rylie.pavlik@collabora.com>
77+ * @author Simon Zeni <simon.zeni@collabora.com>
88+ */
99+package org.freedesktop.monado.android_common
1010+1111+import android.content.Context
1212+import android.view.Menu
1313+import android.view.MenuItem
1414+1515+/**
1616+ * Menu handler for the about activity. This interface may be provided by any Android final target,
1717+ * optionally.
1818+ *
1919+ * Intended for use in dependency injection, so you can add your own menu items
2020+ */
2121+interface AboutMenuProvider {
2222+ fun onCreateOptionsMenu(menuInflater: android.view.MenuInflater, menu: Menu?)
2323+2424+ fun onOptionsItemSelected(context: Context, item: MenuItem): Boolean
2525+}