home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 13 / MA_Cover_13.bin / source / c / stefanb_src / screennotify / include / inline / screennotify.h
Encoding:
C/C++ Source or Header  |  1996-10-02  |  1.3 KB  |  45 lines

  1. #ifndef _INLINE_SCREENNOTIFY_H
  2. #define _INLINE_SCREENNOTIFY_H
  3.  
  4. /*
  5.  * dospath.h  V1.0
  6.  *
  7.  * GCC inline library calls for screennotify.library functions
  8.  *
  9.  * (c) 1995 Stefan Becker
  10.  */
  11.  
  12. #ifndef __INLINE_MACROS_H
  13. #include <inline/macros.h>
  14. #endif
  15.  
  16. #ifndef SCREENNOTIFY_BASE_NAME
  17. #define SCREENNOTIFY_BASE_NAME ScreenNotifyBase
  18. #endif
  19.  
  20. #define AddCloseScreenClient(screen, port, pri) \
  21.         LP3(0x1e, APTR, AddCloseScreenClient, struct Screen *, screen, a0, struct MsgPort *, port, a1, BYTE, pri, d0, \
  22.         , SCREENNOTIFY_BASE_NAME)
  23.  
  24. #define AddPubScreenClient(port, pri) \
  25.         LP2(0x2a, APTR, AddPubScreenClient, struct MsgPort *, port, a0, BYTE, pri, d0, \
  26.         , SCREENNOTIFY_BASE_NAME)
  27.  
  28. #define AddWorkbenchClient(port, pri) \
  29.         LP2(0x36, APTR, AddWorkbenchClient, struct MsgPort *, port, a0, BYTE, pri, d0, \
  30.         , SCREENNOTIFY_BASE_NAME)
  31.  
  32. #define RemCloseScreenClient(handle) \
  33.         LP1(0x24, BOOL, RemCloseScreenClient, APTR, handle, a0, \
  34.         , SCREENNOTIFY_BASE_NAME)
  35.  
  36. #define RemPubScreenClient(handle) \
  37.         LP1(0x30, BOOL, RemPubScreenClient, APTR, handle, a0, \
  38.         , SCREENNOTIFY_BASE_NAME)
  39.  
  40. #define RemWorkbenchClient(handle) \
  41.         LP1(0x3c, BOOL, RemWorkbenchClient, APTR, handle, a0, \
  42.         , SCREENNOTIFY_BASE_NAME)
  43.  
  44. #endif /* _INLINE_SCREENNOTIFY_H */
  45.