summaryrefslogtreecommitdiff
path: root/mnv/src/gui_haiku.h
blob: 39858e3c9fe83fe6f68b6124edffe1f6168a2f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* vi:set ts=8 sts=4 sw=4:
 *
 * MNV - MNV is not Vim		by Bram Moolenaar
 *				GUI support by Olaf "Rhialto" Seibert
 *
 * Do ":help uganda"  in MNV to read copying and usage conditions.
 * Do ":help credits" in MNV to see a list of people who contributed.
 *
 * Haiku GUI.
 *
 * Based on "GUI support for the Buzzword Enhanced Operating System for PPC."
 *
 */

/*
 * This file must be acceptable both as C and C++.
 * The BeOS API is defined in terms of C++, but some classes
 * should be somewhat known in the common C code.
 */

// System classes

struct BMenu;
struct BMenuItem;
struct BPictureButton;

// Our own MNV-related classes

struct MNVApp;
struct MNVFormView;
struct MNVTextAreaView;
struct MNVWindow;
struct MNVScrollBar;

// Locking functions

extern int mnv_lock_screen();
extern void mnv_unlock_screen();

#ifndef __cplusplus

typedef struct BMenu BMenu;
typedef struct BMenuItem BMenuItem;
typedef struct BPictureButton BPictureButton;
typedef struct MNVWindow MNVWindow;
typedef struct MNVFormView MNVFormView;
typedef struct MNVTextAreaView MNVTextAreaView;
typedef struct MNVApp MNVApp;
typedef struct MNVScrollBar MNVScrollBar;

#endif