home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / gfx / misc / imagefx_sdk / str / sample.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-04  |  634 b   |  32 lines

  1. /*
  2.  * Sample localized hook.
  3.  *
  4.  */
  5.  
  6. #include <scan/hooks.h>
  7. #include <scan/previnfo.h>
  8.  
  9.  
  10. char *HookName = "Sample";
  11. char *HookVersion = "\0$VER: Sample 1.0.0 (4.6.94)";
  12.  
  13. #include "sample_strings.h"
  14.  
  15. void hook_main (int argc, char **argv)
  16. {
  17.    InfoRequest(HookGetStr(TXT_msg1));
  18.    InfoRequest(HookGetStr(TXT_msg2));
  19.    InfoRequest(HookGetStr(TXT_msg3));
  20.  
  21.    /*
  22.     * Warning:  I don't know how ImageFX will react to this
  23.     *           minimal tag list.
  24.     */
  25.  
  26.    DoPreviewWindow(
  27.                      DPW_Text,      HookTextArray,
  28.                      DPW_TitleID,   TXT_title,
  29.                      TAG_END
  30.                   );
  31. }
  32.