home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / amiga utilities / disk utilities / copy / unicopy / forprogrammers / reqproto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-21  |  1.3 KB  |  42 lines

  1. /* Prototypes for the req.library for use with Lattice. */
  2.  
  3. /* Don't use this if your compiler doesn't handle ANSI style prototypes. */
  4.  
  5. /* If you aren't using a compiler that can handle pragmas, then define NOPRAGS */
  6.  
  7. #ifndef __NOPROTO
  8. #ifndef __PROTO
  9. #define __PROTO(a) a
  10. #endif
  11. #else
  12. #ifndef __PROTO
  13. #define __PROTO(a) ()
  14. #endif
  15. #endif
  16.  
  17. #ifdef NOPRAGS
  18. #define PRAGSTATE __stdargs
  19. #else
  20. #define PRAGSTATE
  21. #endif
  22.  
  23. #ifdef NOPRAGS
  24. void __stdargs  SimpleRequest __PROTO((char *,...));
  25. int  __stdargs  TwoGadRequest __PROTO((char *,...));
  26. #endif
  27.  
  28. int  PRAGSTATE  FileRequester __PROTO((struct FileRequester *));
  29. void PRAGSTATE  Center __PROTO((struct NewWindow *,int,int));
  30. void PRAGSTATE  PurgeFiles __PROTO((struct FileRequester *));
  31. int  PRAGSTATE  ColorRequester __PROTO((long));
  32. int  PRAGSTATE  TextRequest __PROTO((struct TRStructure *));
  33. char PRAGSTATE  RawKeyToAscii __PROTO((long,long,APTR));
  34. void PRAGSTATE  MakeScrollBar __PROTO((struct ScrollBlock *,long,long,long,long));
  35. void PRAGSTATE  MakeString __PROTO((char *,char *,char *,ULONG,ULONG,long,long));
  36. void PRAGSTATE  MakeProp  __PROTO((char *,ULONG,ULONG,ULONG));
  37. void PRAGSTATE  MakeGadget __PROTO((char *,char *,ULONG,ULONG));
  38.  
  39. BOOL PRAGSTATE  GetLong __PROTO((struct GetLongStruct *));
  40. BOOL PRAGSTATE  NewGetString __PROTO((struct GetStringStruct *));
  41.  
  42.