1 #ifndef _VBCCINLINE_SCREENNOTIFY_H
2 #define _VBCCINLINE_SCREENNOTIFY_H
5 #include <exec/types.h>
8 APTR
__AddCloseScreenClient(__reg("a6") struct Library
*, __reg("a0") struct Screen
* screen
, __reg("a1") struct MsgPort
* port
, __reg("d0") LONG pri
)="\tjsr\t-30(a6)";
9 #define AddCloseScreenClient(screen, port, pri) __AddCloseScreenClient(ScreenNotifyBase, (screen), (port), (pri))
11 BOOL
__RemCloseScreenClient(__reg("a6") struct Library
*, __reg("a0") APTR handle
)="\tjsr\t-36(a6)";
12 #define RemCloseScreenClient(handle) __RemCloseScreenClient(ScreenNotifyBase, (handle))
14 APTR
__AddPubScreenClient(__reg("a6") struct Library
*, __reg("a0") struct MsgPort
* port
, __reg("d0") LONG pri
)="\tjsr\t-42(a6)";
15 #define AddPubScreenClient(port, pri) __AddPubScreenClient(ScreenNotifyBase, (port), (pri))
17 BOOL
__RemPubScreenClient(__reg("a6") struct Library
*, __reg("a0") APTR handle
)="\tjsr\t-48(a6)";
18 #define RemPubScreenClient(handle) __RemPubScreenClient(ScreenNotifyBase, (handle))
20 APTR
__AddWorkbenchClient(__reg("a6") struct Library
*, __reg("a0") struct MsgPort
* port
, __reg("d0") LONG pri
)="\tjsr\t-54(a6)";
21 #define AddWorkbenchClient(port, pri) __AddWorkbenchClient(ScreenNotifyBase, (port), (pri))
23 BOOL
__RemWorkbenchClient(__reg("a6") struct Library
*, __reg("a0") APTR handle
)="\tjsr\t-60(a6)";
24 #define RemWorkbenchClient(handle) __RemWorkbenchClient(ScreenNotifyBase, (handle))
26 #endif /* _VBCCINLINE_SCREENNOTIFY_H */