OSDN Git Service

binding with libharu.
[putex/putex.git] / src / texsourc / texwin.h
1 /**********************************************************************
2
3   Common header information for YANDYTEX
4
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
8
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.
13
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.
18
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
22    02110-1301 USA.
23
24 **********************************************************************/
25
26 /////////////////////////////////////////////////////////
27
28 #ifdef _WINDOWS
29 #ifndef MYLIBAPI
30   #define MYLIBAPI __declspec(dllimport)
31 #endif
32
33 //////////////////////////////////////////////////////////
34
35 MYLIBAPI int yandytex(HWND, char *, int (*) (char *, char *, char *));
36
37 // last argument is a call-backup that can send PS strings back
38
39 #define ICN_LISTBOX  525
40 #define ICN_COPY     526
41 #define ICN_RESET    527
42 #define ICN_ADDTEXT  528
43 #define ICN_SETTITLE 529
44 #define ICN_DONE     530
45 #define ICN_CLEAR    531
46
47 // MYLIBAPI int reencodeflag;
48
49 #endif
50
51 #ifdef _WINDOWS
52   int ConsoleInput(char * question, char * help, char * buffer);
53 #else
54   #define show_line(str,flag) fputs(str,stdout)
55   #define show_char(chr) putc(chr, stdout)
56 #endif
57
58 //////////////////////////////////////////////////////////
59
60 extern char log_line[];
61 #include "hpdf.h"