home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Musik / Misc / Amster / Source / include / download.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-01  |  986 b   |  49 lines

  1. /*
  2. ** Download Header
  3. */
  4.  
  5. #include <sys/types.h>
  6. #include <libraries/dos.h>
  7.  
  8. #include "include/napster.h"
  9. #include "include/thread.h"
  10.  
  11. #ifndef AMSTER_DOWNLOAD_H
  12. #define AMSTER_DOWNLOAD_H
  13.  
  14. extern int dl_count;
  15. extern int QueueCount;
  16.  
  17. #define DL_ADD        0x1003
  18. #define DL_START      0x1004
  19. #define DL_UPDATE     0x1010
  20. #define DL_CPS        0x1011
  21. #define DL_PLAY       0x1020
  22. #define DL_ABORT      0x1021
  23. #define DL_RESUME     0x1022
  24. #define DL_CLEANUP    0x1023
  25. #define DL_COUNTDECREMENT 0x1040
  26. #define DL_COUNTINCREMENT 0x1041
  27. #define DL_CHECKQUEUE     0x1042
  28. #define DL_INFO       0x1050
  29. #define DL_SETERROR   0x1051
  30. #define DL_RETRY      0x1052
  31. #define DL_POLLWAIT   0x1053
  32. #define DL_SETDELAY   0x1054
  33. #define DL_REMWAITING 0x1055
  34. #define DL_WATCHER    0x1056
  35.  
  36. enum HandlerFunc {
  37.     DLC_STATE,
  38.     DLC_SIZE,
  39.     DLC_ADDSHARE,
  40.     DLC_UPDATE
  41. };
  42.  
  43. /* Public functions */
  44.  
  45. extern MUIF dl_dispatch(REG(a0) struct IClass *cl,REG(a2) Object *obj,REG(a1) Msg msg);
  46.  
  47.  
  48. #endif    /* AMSTER_DOWNLOAD_H */
  49.