home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / pmod23a.lzh / pmod23a / pmod23.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-19  |  820 b   |  34 lines

  1. #include <exec/types.h>
  2. #include <intuition/intuition.h>
  3.  
  4. #define VERSION_INFO "Printer MODe (Amiga v2.3a) by John Mosley, Copyright (C) 10-19-1992"
  5. #define NAME "pmod23a"
  6. #define SFB_SIZE 10240
  7. #define DFB_SIZE 10240
  8. #define FILE_REQ   'f'
  9. #define OPTION_REQ 'o'
  10. #define FILE_UP  0
  11. #define SKIP_UP  1
  12. #define RETRY_UP 2
  13. #define ABORT_UP 3
  14. #define NOTHING  4
  15. /* set the revision number of Intuition and graphics */
  16. #define INTUITION_REV 33
  17. #define GRAPHICS_REV 33
  18.  
  19. typedef struct Gadget GAD, *GADPTR;
  20.  
  21. typedef struct Gad_Result {
  22.     char ID, *string;
  23. } GRES, *GRESPTR;
  24.  
  25. int badargs(int, char *[]);
  26. void printcodes(int, char *[]);
  27. void exnum(char *, char *);
  28. void clean_up(void);
  29. void print_usage(void);
  30. char Open_All(void);
  31. void CloseLibs(void);
  32. void Do_Request(char *, GRESPTR, char);
  33. USHORT pop_gadget(struct Window *);
  34.