00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _SAL_BYTEBUFFERWRAPPER_HXX
00011 #define _SAL_BYTEBUFFERWRAPPER_HXX
00012
00013 #ifdef ANDROID
00014
00015 #include <jni.h>
00016
00017 #include <sal/types.h>
00018
00019 namespace org { namespace libreoffice { namespace touch {
00020
00021 class ByteBufferWrapper
00022 {
00023 private:
00024 jobject object;
00025
00026 public:
00027 ByteBufferWrapper(JNIEnv *env, jobject o);
00028
00029 sal_uInt8* pointer();
00030
00031 void operator()(sal_uInt8 *p);
00032 };
00033
00034 }; }; };
00035
00036 #endif
00037
00038 #endif
00039
00040