LibreOffice
LibreOffice 4.3 SDK C/C++ API Reference
ByteBufferWrapper.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  */
9 
10 #ifndef INCLUDED_SAL_BYTEBUFFERWRAPPER_HXX
11 #define INCLUDED_SAL_BYTEBUFFERWRAPPER_HXX
12 
13 #ifdef ANDROID
14 
15 #include <jni.h>
16 
17 #include <sal/types.h>
18 
19 namespace org { namespace libreoffice { namespace touch {
20 
21 class ByteBufferWrapper
22 {
23 private:
24  jobject object;
25 
26 public:
27  ByteBufferWrapper(JNIEnv *env, jobject o);
28 
29  sal_uInt8* pointer();
30 
31  void operator()(sal_uInt8 *p);
32 };
33 
34 }; }; };
35 
36 #endif
37 
38 #endif
39 
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unsigned char sal_uInt8
Definition: types.h:52