xbmc
JNIXBMCDisplayManagerDisplayListener.h
1 /*
2  * Copyright (C) 2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include <androidjni/JNIBase.h>
12 
14 {
15 public:
17  CJNIXBMCDisplayManagerDisplayListener(const jni::jhobject &object) : CJNIBase(object) {}
18 
19  static void RegisterNatives(JNIEnv* env);
20 
21 protected:
22  static void _onDisplayAdded(JNIEnv* env, jobject thiz, int displayId);
23  static void _onDisplayChanged(JNIEnv* env, jobject thiz, int displayId);
24  static void _onDisplayRemoved(JNIEnv* env, jobject thiz, int displayId);
25 };
Definition: JNIXBMCDisplayManagerDisplayListener.h:13