UDK 3.2.7 C/C++ API Reference

sal/ByteBufferWrapper.hxx

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
00002 /*
00003  * Copyright 2012 LibreOffice contributors.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
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 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines