home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / gfx / misc / imagefx_sdk / include / scan / hooks.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-18  |  727 b   |  36 lines

  1. /*
  2.  * ImageFX Development Header File
  3.  * Copyright © 1991-1995 Nova Design, Inc.
  4.  * Written by Thomas Krehbiel
  5.  *
  6.  * Main header file for Hook programs.
  7.  *
  8.  */
  9.  
  10. #ifndef EXEC_TYPES_H
  11. #include <exec/types.h>
  12. #endif
  13.  
  14. #include <scan/modall.h>
  15. #include <exec/execbase.h>
  16.  
  17.  
  18. void hook_main (int argc, char **argv);
  19. void hook_exit (int rc);
  20. void hook_fail (char *message);
  21.  
  22.  
  23. extern struct ScanBase        *ScanBase;
  24. extern struct IntuitionBase   *IntuitionBase;
  25. extern struct GfxBase         *GfxBase;
  26.  
  27. extern struct ExecBase        *SysBase;
  28.  
  29. extern char                  **HookTextArray;
  30.  
  31. #define TXT(i)                (HookGetStr(i))
  32.  
  33. extern char                   *HookGetStr(int idx);
  34.  
  35. extern BOOL                   HookCloseIFX;
  36.