Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
jni::CJNIXBMCFile Class Reference

#include <JNIXBMCFile.h>

Inheritance diagram for jni::CJNIXBMCFile:

Public Member Functions

 CJNIXBMCFile ()
 
 CJNIXBMCFile (const jni::jhobject &object)
 
 ~CJNIXBMCFile () override=default
 

Static Public Member Functions

static void RegisterNatives (JNIEnv *env)
 

Static Protected Member Functions

static jboolean _open (JNIEnv *env, jobject thiz, jstring path)
 
static void _close (JNIEnv *env, jobject thiz)
 
static jbyteArray _read (JNIEnv *env, jobject thiz)
 
static jboolean _eof (JNIEnv *env, jobject thiz)
 

Protected Attributes

bool m_eof = true
 
std::unique_ptr< XFILE::CFilem_file
 

Constructor & Destructor Documentation

◆ CJNIXBMCFile() [1/2]

CJNIXBMCFile::CJNIXBMCFile ( )

◆ CJNIXBMCFile() [2/2]

jni::CJNIXBMCFile::CJNIXBMCFile ( const jni::jhobject & object)
inline

◆ ~CJNIXBMCFile()

jni::CJNIXBMCFile::~CJNIXBMCFile ( )
overridedefault

Member Function Documentation

◆ _close()

void CJNIXBMCFile::_close ( JNIEnv * env,
jobject thiz )
staticprotected

◆ _eof()

jboolean CJNIXBMCFile::_eof ( JNIEnv * env,
jobject thiz )
staticprotected

◆ _open()

jboolean CJNIXBMCFile::_open ( JNIEnv * env,
jobject thiz,
jstring path )
staticprotected

◆ _read()

jbyteArray CJNIXBMCFile::_read ( JNIEnv * env,
jobject thiz )
staticprotected

◆ RegisterNatives()

void CJNIXBMCFile::RegisterNatives ( JNIEnv * env)
static

Member Data Documentation

◆ m_eof

bool jni::CJNIXBMCFile::m_eof = true
protected

◆ m_file

std::unique_ptr<XFILE::CFile> jni::CJNIXBMCFile::m_file
protected

The documentation for this class was generated from the following files: