1 /**********************************************************************
3 Common header information for YANDYTEX
5 Copyright 1992,1993,1994,1995,1996,1997,1998,1999 Y&Y, Inc.
6 Copyright 2007-2013 TeX Users Group
7 Copyright 2014 Clerk Ma
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 **********************************************************************/
26 /////////////////////////////////////////////////////////
30 #define MYLIBAPI __declspec(dllimport)
33 //////////////////////////////////////////////////////////
35 MYLIBAPI int yandytex(HWND, char *, int (*) (char *, char *, char *));
37 // last argument is a call-backup that can send PS strings back
39 #define ICN_LISTBOX 525
42 #define ICN_ADDTEXT 528
43 #define ICN_SETTITLE 529
47 // MYLIBAPI int reencodeflag;
52 int ConsoleInput(char * question, char * help, char * buffer);
54 #define show_line(str,flag) fputs(str,stdout)
55 #define show_char(chr) putc(chr, stdout)
58 //////////////////////////////////////////////////////////
60 extern char log_line[];