-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathav.h
55 lines (43 loc) · 982 Bytes
/
av.h
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
52
53
54
55
#ifndef tw2_av_h
# define tw2_av_h 1
#ifndef tw_global_h
# include "global.h"
#endif
/*
* Communication with AV server.
*/
#define AV_PROTOKOLL 0x4700
#define VA_PROTOSTATUS 0x4701
#define AV_SENDKEY 0x4710
#define VA_START 0x4711
#define AV_ACCWINDOPEN 0x4724
#define VA_DRAGACCWIND 0x4725
#define AV_ACCWINDCLOSED 0x4726
#define AV_EXIT 0x4736
#define AV_STARTED 0x4738
/*
* Send key to AV server.
*/
extern bool gl_avcycle;
extern bool send_avkey (short ks, short kr);
/*
* Send opened or cloased window to AV server.
*/
void send_avwinopen (short handle);
void send_avwinclose (short handle);
/*
* Send <data> ton ST-Guide.
* If <with_hyp> ST-Guide try to find <data> in toswin2.hyp (online help).
*/
void call_stguide (char *data, bool with_hyp);
/*
* Send <str> via VA_START to <appname>
*/
void send_to (char *appname, char *str);
/*
* Handle AV massages.
*/
void handle_av (short *msg);
bool av_init (void);
void av_term (void);
#endif