home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / wb_protos.h < prev   
Encoding:
C/C++ Source or Header  |  1994-10-29  |  1.9 KB  |  71 lines

  1. #ifndef  CLIB_WB_PROTOS_H
  2. #define  CLIB_WB_PROTOS_H
  3.  
  4. /*
  5. **    $VER: wb_protos.h 38.4 (31.5.92)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. /*--- functions in V36 or higher (Release 2.0) ---*/
  15. #ifndef  EXEC_TYPES_H
  16. #include <exec/types.h>
  17. #endif
  18. #ifndef  DOS_DOS_H
  19. #include <dos/dos.h>
  20. #endif
  21. #ifndef  WORKBENCH_WORKBENCH_H
  22. #include <workbench/workbench.h>
  23. #endif
  24. #ifndef  INTUITION_INTUITION_H
  25. #include <intuition/intuition.h>
  26. #endif
  27. #ifndef  UTILITY_TAGITEM_H
  28. #include <utility/tagitem.h>
  29. #endif
  30.  
  31. #ifdef __cplusplus
  32. #define CLIBCPLUSON
  33. #pragma -
  34. #endif
  35.  
  36. struct AppWindow *AddAppWindowA( unsigned long id, unsigned long userdata,
  37.     struct Window *window, struct MsgPort *msgport,
  38.     struct TagItem *taglist );
  39. struct AppWindow *AddAppWindow( unsigned long id, unsigned long userdata,
  40.     struct Window *window, struct MsgPort *msgport, Tag tag1, ... );
  41.  
  42. BOOL RemoveAppWindow( struct AppWindow *appWindow );
  43.  
  44. struct AppIcon *AddAppIconA( unsigned long id, unsigned long userdata,
  45.     UBYTE *text, struct MsgPort *msgport, struct FileLock *lock,
  46.     struct DiskObject *diskobj, struct TagItem *taglist );
  47. struct AppIcon *AddAppIcon( unsigned long id, unsigned long userdata,
  48.     UBYTE *text, struct MsgPort *msgport, struct FileLock *lock,
  49.     struct DiskObject *diskobj, Tag tag1, ... );
  50.  
  51. BOOL RemoveAppIcon( struct AppIcon *appIcon );
  52.  
  53. struct AppMenuItem *AddAppMenuItemA( unsigned long id, unsigned long userdata,
  54.     UBYTE *text, struct MsgPort *msgport, struct TagItem *taglist );
  55. struct AppMenuItem *AddAppMenuItem( unsigned long id, unsigned long userdata,
  56.     UBYTE *text, struct MsgPort *msgport, Tag tag1, ... );
  57.  
  58. BOOL RemoveAppMenuItem( struct AppMenuItem *appMenuItem );
  59.  
  60. /*--- functions in V39 or higher (Release 3) ---*/
  61.  
  62.  
  63. void WBInfo( BPTR lock, STRPTR name, struct Screen *screen );
  64.  
  65. #ifdef CLIBCPLUSON
  66. #undef CLIBCPLUSON
  67. #pragma +
  68. #endif
  69.  
  70. #endif     /* CLIB_WB_PROTOS_H */
  71.