ZFFramework
 
Loading...
Searching...
No Matches
ZFImpl_sys_Android_ZFInputWrapper.h
1#ifndef _ZFI_ZFImpl_sys_Android_ZFInputWrapper_h_
2#define _ZFI_ZFImpl_sys_Android_ZFInputWrapper_h_
3
4#include "ZFImpl_sys_Android_def.h"
5
6#if ZF_ENV_sys_Android
7
9#define ZFImpl_sys_Android_JNI_ID_ZFInputWrapper ZFImpl_sys_Android_JNI_ID(NativeUtil_ZFInputWrapper)
10#define ZFImpl_sys_Android_JNI_NAME_ZFInputWrapper ZFImpl_sys_Android_JNI_NAME(NativeUtil.ZFInputWrapper)
11
12extern ZFLIB_ZF_impl jclass ZFImpl_sys_Android_jclassZFInputWrapper(void);
13
14// return a InputStream, which would retain the source input
15// you may explicitly call InputStream.close() to release the source input,
16// or let Java GC to handle it
17extern ZFLIB_ZF_impl jobject ZFImpl_sys_Android_ZFInputWrapperFromZFInput(ZF_IN const ZFInput &input);
18
20#endif // #if ZF_ENV_sys_Android
21#endif // #ifndef _ZFI_ZFImpl_sys_Android_ZFInputWrapper_h_
22
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define ZFLIB_ZF_impl
used to export symbols
Definition ZFImpl_ZF_impl.h:15
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
general input callback
Definition ZFIOCallback_input.h:37