home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d8xx / d828 / disktest.lha / DiskTest / Source / main.h < prev    next >
Text File  |  2001-02-25  |  1KB  |  46 lines

  1. /*------------------------------*
  2.  | File: MAIN.h - Main include  |
  3.  | file for all program modules |
  4.  *------------------------------*/
  5.  
  6. /**
  7.  | #define's
  8.  | - program identifiers;
  9.  | - minimum Operating System revision required (2.04);
  10.  | - exit status;
  11.  | - gadtools gadgets identifiers.
  12. **/
  13.  
  14. #define PROG_NAME     "DT"
  15. #define REVISION      "2.03"
  16. #define LAST_CHANGED  "930119"
  17.  
  18. #define OS_MINREV     37
  19.  
  20. #define EXIT_OK       0
  21.  
  22. #define BUT_1         0                 /* DF0 */
  23. #define BUT_2         1                 /* DF1 */
  24. #define BUT_3         2                 /* DF2 */
  25. #define BUT_4         3                 /* DF3 */
  26. #define BUT_FN        4                 /* List file names? */
  27. #define BUT_BREAK     5                 /* Break */
  28. #define BUT_QUIT      6                 /* Quit */
  29. #define SCROLLER      7                 /* Scroller */
  30.  
  31. /**
  32.  | Procedure prototypes
  33. **/
  34.  
  35. void AddLine(char *s, size_t n, BOOL update);
  36. void BusyState(BOOL state);
  37. void Cleanup(void);
  38. void ClearText(BOOL update);
  39. void Error(char *fmt);
  40. void EventLoop(void);
  41. void Init(void);
  42. void InitScroller(void);
  43. void RefreshView(BOOL damage);
  44. void LastLine(char *s, size_t n);
  45. void SetTopLine(UWORD n);
  46.