home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / os-include / clib / wb_protos.h < prev   
C/C++ Source or Header  |  1992-09-24  |  2KB  |  60 lines

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