1 #ifndef LIBRARIES_SCREENNOTIFY_H
2 #define LIBRARIES_SCREENNOTIFY_H
5 * libraries/screennotify_protos.h
7 * Include file for screennotify.library
9 * $VER: screennotify.h 1.0 (26.03.95)
14 #include <exec/ports.h>
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 */