1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef IOS_BOOSTRAP_H
11 #define IOS_BOOSTRAP_H
16 #include <CoreGraphics/CoreGraphics.h>
23 #include <osl/detail/component-mapping.h>
25 /* These functions are the interface between the upper GUI layers of a
26 * LibreOffice-based iOS app and the lower "core" layers, used in cases
27 * where the core parts need to call functions in the upper parts or
30 * Thus there are two classes of functions here:
32 * 1) Those to be implemented in the upper layer and called by the
35 * 2) Those implmented in the lower layers to be called by the upper
36 * layer, in cases where we don't want to include a bunch of the
37 * "normal" LibreOffice C++ headers in an otherwise purely Objective-C
38 * CocoaTouch-based source file. Of course it depends on the case
39 * where that is wanted, and this all is work in progress.
44 void lo_damaged(CGRect rect
);
49 void lo_set_view_size(int width
, int height
);
50 void lo_render_windows(CGContextRef context
, CGRect rect
);
51 void lo_tap(int x
, int y
);
52 void lo_pan(int x
, int y
);
53 void lo_keyboard_input(int c
);
60 #endif // IOS_BOOTSTRAP_H
62 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */