1 #ifndef LIBRARIES_SCREENNOTIFY_H 2 #define LIBRARIES_SCREENNOTIFY_H 3 4 /* 5 screennotify.library include 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef EXEC_TYPES_H 11 # include <exec/types.h> 12 #endif 13 14 #ifndef EXEC_PORTS_H 15 # include <exec/ports.h> 16 #endif 17 18 #pragma pack(2) 19 20 21 #define SCREENNOTIFY_NAME "screennotify.library" 22 #define SCREENNOTIFY_VERSION 1 23 24 25 struct ScreenNotifyMessage 26 { 27 struct Message snm_Message; 28 ULONG snm_Type; 29 APTR snm_Value; 30 }; 31 32 33 #define SCREENNOTIFY_TYPE_CLOSESCREEN 0 34 #define SCREENNOTIFY_TYPE_PUBLICSCREEN 1 35 #define SCREENNOTIFY_TYPE_PRIVATESCREEN 2 36 #define SCREENNOTIFY_TYPE_WORKBENCH 3 37 38 39 #pragma pack() 40 41 #endif /* LIBRARIES_SCREENNOTIFY_H */