home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / wb_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-28  |  2.7 KB  |  75 lines

  1. #ifndef  CLIB_WB_PROTOS_H
  2. #define  CLIB_WB_PROTOS_H
  3.  
  4. /*
  5. **    $VER: wb_protos.h 44.5 (21.6.1999)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. **    Copyright © 1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /* __cplusplus */
  16.  
  17. /*--- functions in V36 or higher (Release 2.0) ---*/
  18. #ifndef  EXEC_TYPES_H
  19. #include <exec/types.h>
  20. #endif
  21. #ifndef  DOS_DOS_H
  22. #include <dos/dos.h>
  23. #endif
  24. #ifndef  WORKBENCH_WORKBENCH_H
  25. #include <workbench/workbench.h>
  26. #endif
  27. #ifndef  INTUITION_INTUITION_H
  28. #include <intuition/intuition.h>
  29. #endif
  30. #ifndef  UTILITY_TAGITEM_H
  31. #include <utility/tagitem.h>
  32. #endif
  33.  
  34. struct AppWindow *AddAppWindowA( ULONG id, ULONG userdata, struct Window *window, struct MsgPort *msgport, struct TagItem *taglist );
  35. struct AppWindow *AddAppWindow( ULONG id, ULONG userdata, struct Window *window, struct MsgPort *msgport, Tag tag1, ... );
  36.  
  37. BOOL RemoveAppWindow( struct AppWindow *appWindow );
  38.  
  39. struct AppIcon *AddAppIconA( ULONG id, ULONG userdata, UBYTE *text, struct MsgPort *msgport, struct FileLock *lock, struct DiskObject *diskobj, struct TagItem *taglist );
  40. struct AppIcon *AddAppIcon( ULONG id, ULONG userdata, UBYTE *text, struct MsgPort *msgport, struct FileLock *lock, struct DiskObject *diskobj, Tag tag1, ... );
  41.  
  42. BOOL RemoveAppIcon( struct AppIcon *appIcon );
  43.  
  44. struct AppMenuItem *AddAppMenuItemA( ULONG id, ULONG userdata, UBYTE *text, struct MsgPort *msgport, struct TagItem *taglist );
  45. struct AppMenuItem *AddAppMenuItem( ULONG id, ULONG userdata, UBYTE *text, struct MsgPort *msgport, Tag tag1, ... );
  46.  
  47. BOOL RemoveAppMenuItem( struct AppMenuItem *appMenuItem );
  48.  
  49. /*--- functions in V39 or higher (Release 3) ---*/
  50.  
  51.  
  52. VOID WBInfo( BPTR lock, STRPTR name, struct Screen *screen );
  53.  
  54. /*--- functions in V44 or higher (Release 3.5) ---*/
  55. BOOL OpenWorkbenchObjectA( STRPTR name, struct TagItem *tags );
  56. BOOL OpenWorkbenchObject( STRPTR name, ... );
  57. BOOL CloseWorkbenchObjectA( STRPTR name, struct TagItem *tags );
  58. BOOL CloseWorkbenchObject( STRPTR name, ... );
  59. BOOL WorkbenchControlA( STRPTR name, struct TagItem *tags );
  60. BOOL WorkbenchControl( STRPTR name, ... );
  61. struct AppWindowDropZone *AddAppWindowDropZoneA( struct AppWindow *aw, ULONG id, ULONG userdata, struct TagItem *tags );
  62. struct AppWindowDropZone *AddAppWindowDropZone( struct AppWindow *aw, ULONG id, ULONG userdata, ... );
  63. BOOL RemoveAppWindowDropZone( struct AppWindow *aw, struct AppWindowDropZone *dropZone );
  64. BOOL ChangeWorkbenchSelectionA( STRPTR name, struct Hook *hook, struct TagItem *tags );
  65. BOOL ChangeWorkbenchSelection( STRPTR name, struct Hook *hook, ... );
  66. BOOL MakeWorkbenchObjectVisibleA( STRPTR name, struct TagItem *tags );
  67. BOOL MakeWorkbenchObjectVisible( STRPTR name, ... );
  68.  
  69.  
  70. #ifdef __cplusplus
  71. }
  72. #endif /* __cplusplus */
  73.  
  74. #endif   /* CLIB_WB_PROTOS_H */
  75.