aboutsummaryrefslogtreecommitdiff
path: root/xbmc/platform/android/activity/JNIXBMCTextureCache.h
blob: 92da6e91d536f8a8e0839124f5ad495e01773da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *  Copyright (C) 2020 Team Kodi
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#pragma once

#include <androidjni/JNIBase.h>

namespace jni
{

class CJNIXBMCTextureCache : public CJNIBase
{
public:
  CJNIXBMCTextureCache(const jni::jhobject& object) : CJNIBase(object) {}

  static void RegisterNatives(JNIEnv* env);

protected:
  ~CJNIXBMCTextureCache() override = default;

  static jstring _unwrapImageURL(JNIEnv* env, jobject thiz, jstring image);
};

} // namespace jni