home *** CD-ROM | disk | FTP | other *** search
/ ANews 1 / AnewsCD01.iso / Internet / Newsgroup / THOR_2.6 / THOR26_API.LHA / WatchTHOR / watch.h < prev    next >
C/C++ Source or Header  |  1997-04-06  |  922b  |  38 lines

  1. #define __USE_SYSBASE    1
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include <intuition/intuition.h>
  5. #include <utility/tagitem.h>
  6. #include <libraries/dos.h>
  7. #include <dos/dostags.h>
  8. #include <libraries/bbsread.h>
  9. #include <intuition/intuition.h>
  10. #include <intuition/intuitionbase.h>
  11. #include <exec/memory.h>
  12. #include <clib/timer_protos.h>
  13. #include <pragmas/timer_pragmas.h>
  14.  
  15. #include <proto/bbsread.h>
  16. #include <proto/utility.h>
  17. #include <proto/intuition.h>
  18. #include <proto/dos.h>
  19. #include <proto/exec.h>
  20.  
  21. /*  Global structbases  */
  22. struct TaskData
  23. {
  24.     struct DosLibrary     *DOSBase;
  25.     struct Library         *BBSReadBase;
  26.     struct Library        *UtilityBase;
  27.     struct ExecBase     *SysBase;
  28.     struct MsgPort        *timerport;
  29.     struct timerequest    *timerio;
  30. };
  31.  
  32. #define DOSBase        td->DOSBase
  33. #define BBSReadBase    td->BBSReadBase
  34. #define UtilityBase td->UtilityBase
  35. #define SysBase        td->SysBase
  36. #define timerport    td->timerport
  37. #define timerio        td->timerio
  38.