grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / diskimage / include / amigaos / libraries / screennotify.h
blob2f132c53e6ce518f6947457ffe38e8ab3c76fa4a
1 #ifndef LIBRARIES_SCREENNOTIFY_H
2 #define LIBRARIES_SCREENNOTIFY_H
4 /*
5 * libraries/screennotify_protos.h
7 * Include file for screennotify.library
9 * $VER: screennotify.h 1.0 (26.03.95)
13 #ifndef EXEC_PORTS_H
14 #include <exec/ports.h>
15 #endif
17 /* Name and version */
18 #define SCREENNOTIFY_NAME "screennotify.library"
19 #define SCREENNOTIFY_VERSION 1
21 /* Message sent to clients */
22 struct ScreenNotifyMessage {
23 struct Message snm_Message;
24 ULONG snm_Type; /* READ ONLY!! */
25 APTR snm_Value; /* READ ONLY!! */
28 /* Values for snm_Type */
29 #define SCREENNOTIFY_TYPE_CLOSESCREEN 0 /* CloseScreen() called, snm_Value contains */
30 /* pointer to Screen structure */
31 #define SCREENNOTIFY_TYPE_PUBLICSCREEN 1 /* PubScreenStatus() called to make screen */
32 /* public, snm_Value contains pointer to */
33 /* PubScreenNode structure */
34 #define SCREENNOTIFY_TYPE_PRIVATESCREEN 2 /* PubScreenStatus() called to make screen */
35 /* private, snm_Value contains pointer to */
36 /* PubScreenNode structure */
37 #define SCREENNOTIFY_TYPE_WORKBENCH 3 /* snm_Value == FALSE (0): CloseWorkBench() */
38 /* called, please close windows on WB */
39 /* snm_Value == TRUE (1): OpenWorkBench() */
40 /* called, windows can be opened again */
41 #endif