home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / clib / wb_protos.h < prev   
Encoding:
C/C++ Source or Header  |  1997-03-12  |  1.7 KB  |  63 lines

  1. #ifndef  CLIB_WB_PROTOS_H
  2. #define  CLIB_WB_PROTOS_H
  3.  
  4. #ifndef  EXEC_TYPES_H
  5. #include <exec/types.h>
  6. #endif
  7. #ifndef  DOS_DOS_H
  8. #include <dos/dos.h>
  9. #endif
  10. #ifndef  WORKBENCH_WORKBENCH_H
  11. #include <workbench/workbench.h>
  12. #endif
  13. #ifndef  INTUITION_INTUITION_H
  14. #include <intuition/intuition.h>
  15. #endif
  16. #ifndef  UTILITY_TAGITEM_H
  17. #include <utility/tagitem.h>
  18. #endif
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. #ifdef __IGNORE_NOT_SUPPORTED__
  26. #else  /** __IGNORE_NOT_SUPPORTED__ **/
  27. #endif /** __IGNORE_NOT_SUPPORTED__ **/
  28.  
  29.  
  30. struct AppWindow *AddAppWindowA(ULONG id,ULONG userdata,
  31.     struct Window *window, struct MsgPort *msgport,
  32.     struct TagItem *taglist );
  33. struct AppWindow *AddAppWindow( unsigned long id, unsigned long userdata,
  34.     struct Window *window, struct MsgPort *msgport, Tag tag1, ... );
  35.  
  36. BOOL RemoveAppWindow( struct AppWindow *appWindow );
  37.  
  38. struct AppIcon *AddAppIconA( unsigned long id, unsigned long userdata,
  39.     UBYTE *text, struct MsgPort *msgport, struct FileLock *lock,
  40.     struct DiskObject *diskobj, struct TagItem *taglist );
  41. struct AppIcon *AddAppIcon( unsigned long id, unsigned long userdata,
  42.     UBYTE *text, struct MsgPort *msgport, struct FileLock *lock,
  43.     struct DiskObject *diskobj, Tag tag1, ... );
  44.  
  45. BOOL RemoveAppIcon( struct AppIcon *appIcon );
  46.  
  47. struct AppMenuItem *AddAppMenuItemA( unsigned long id, unsigned long userdata,
  48.     UBYTE *text, struct MsgPort *msgport, struct TagItem *taglist );
  49. struct AppMenuItem *AddAppMenuItem( unsigned long id, unsigned long userdata,
  50.     UBYTE *text, struct MsgPort *msgport, Tag tag1, ... );
  51.  
  52. BOOL RemoveAppMenuItem( struct AppMenuItem *appMenuItem );
  53.  
  54. void WBInfo( BPTR lock, STRPTR name, struct Screen *screen );
  55.  
  56.  
  57. #ifdef __cplusplus
  58. }
  59. #endif
  60.  
  61.  
  62. #endif     /* CLIB_WB_PROTOS_H */
  63.