Bram Moolenaar | b3f7406 | 2020-02-26 16:16:53 +0100 | [diff] [blame] | 1 | /* vi:set ts=8 sts=4 sw=4: |
| 2 | * |
| 3 | * VIM - Vi IMproved by Bram Moolenaar |
| 4 | * GUI support by Olaf "Rhialto" Seibert |
| 5 | * |
| 6 | * Do ":help uganda" in Vim to read copying and usage conditions. |
| 7 | * Do ":help credits" in Vim to see a list of people who contributed. |
| 8 | * |
| 9 | * Haiku GUI. |
| 10 | * |
| 11 | * Based on "GUI support for the Buzzword Enhanced Operating System for PPC." |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | /* |
| 16 | * This file must be acceptable both as C and C++. |
| 17 | * The BeOS API is defined in terms of C++, but some classes |
| 18 | * should be somewhat known in the common C code. |
| 19 | */ |
| 20 | |
| 21 | // System classes |
| 22 | |
| 23 | struct BMenu; |
| 24 | struct BMenuItem; |
| 25 | struct BPictureButton; |
| 26 | |
| 27 | // Our own Vim-related classes |
| 28 | |
| 29 | struct VimApp; |
| 30 | struct VimFormView; |
| 31 | struct VimTextAreaView; |
| 32 | struct VimWindow; |
| 33 | struct VimScrollBar; |
| 34 | |
| 35 | // Locking functions |
| 36 | |
| 37 | extern int vim_lock_screen(); |
| 38 | extern void vim_unlock_screen(); |
| 39 | |
| 40 | #ifndef __cplusplus |
| 41 | |
| 42 | typedef struct BMenu BMenu; |
| 43 | typedef struct BMenuItem BMenuItem; |
| 44 | typedef struct BPictureButton BPictureButton; |
| 45 | typedef struct VimWindow VimWindow; |
| 46 | typedef struct VimFormView VimFormView; |
| 47 | typedef struct VimTextAreaView VimTextAreaView; |
| 48 | typedef struct VimApp VimApp; |
| 49 | typedef struct VimScrollBar VimScrollBar; |
| 50 | |
| 51 | #endif |