fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / sal / ByteBufferWrapper.hxx
blob17edfa48af01df56e20ac491194a0781b2f762bf
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef _SAL_BYTEBUFFERWRAPPER_HXX
11 #define _SAL_BYTEBUFFERWRAPPER_HXX
13 #ifdef ANDROID
15 #include <jni.h>
17 #include <sal/types.h>
19 namespace org { namespace libreoffice { namespace touch {
21 class ByteBufferWrapper
23 private:
24 jobject object;
26 public:
27 ByteBufferWrapper(JNIEnv *env, jobject o);
29 sal_uInt8* pointer();
31 void operator()(sal_uInt8 *p);
34 }; }; };
36 #endif
38 #endif
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */