home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / clib / diskfont_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-12  |  1.2 KB  |  50 lines

  1. #ifndef  CLIB_DISKFONT_PROTOS_H
  2. #define  CLIB_DISKFONT_PROTOS_H
  3.  
  4. #ifndef  DOS_DOS_H
  5. #include <dos/dos.h>
  6. #endif
  7. #ifndef  DISKFONT_DISKFONT_H
  8. #include <diskfont/diskfont.h>
  9. #endif
  10.  
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14.  
  15.  
  16.  
  17. struct TextFont *OpenDiskFont(struct TextAttr*);
  18.  
  19.  
  20. #ifdef __IGNORE_NOT_SUPPORTED__
  21.  
  22.   LONG AvailFonts(STRPTR,long,long);
  23.   struct FontContentsHeader *NewFontContents(BPTR,STRPTR);
  24.   void DisposeFontContents(struct FontContentsHeader*);
  25.   struct DiskFont *NewScaledDiskFont( struct TextFont*,struct TextAttr*);
  26.  
  27. #else  /** __IGNORE_NOT_SUPPORTED__ **/
  28.  
  29. #define AvailFonts AvailFonts_NOT_SUPPORTED
  30.   LONG AvailFonts(struct NOT_SUPPORTED*,STRPTR,long,long);
  31.  
  32. #define FontContentsHeader FontContentsHeader_NOT_SUPPORTED
  33.   struct FontContentsHeader *NewFontContents(struct NOT_SUPPORTED*,BPTR,STRPTR);
  34.  
  35. #define DisposeFontContents DisposeFontContents_NOT_SUPPORTED
  36.   void DisposeFontContents(struct NOT_SUPPORTED*,struct FontContentsHeader*);
  37.  
  38. #define DiskFont DiskFont_NOT_SUPPORTED
  39.   struct DiskFont *NewScaledDiskFont(struct NOT_SUPPORTED*,struct TextFont*,struct TextAttr*);
  40.  
  41. #endif /** __IGNORE_NOT_SUPPORTED__ **/
  42.  
  43.  
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47.  
  48.  
  49. #endif     /* CLIB_DISKFONT_PROTOS_H */
  50.