Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /branches/ttcomtester/teraterm/teraterm/teraprnfile.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6806 - (hide annotations) (download) (as text)
Thu Jun 15 00:37:01 2017 UTC (6 years, 9 months ago) by doda
Original Path: trunk/teraterm/teraterm/teraprn.h
File MIME type: text/x-chdr
File size: 2183 byte(s)
TeraTerm Project としてのライセンス表記を追加

とりあえず Tera Term 本体分。
TeraTerm Project としての copyright 表記の年部分はコミットログを確認して書いたつもりだけど、ミスってたらすみません。

TODO: 過去に取り込んだパッチに関する著作権表記の追加
1 doda 6806 /*
2     * Copyright (C) 1994-1998 T. Teranishi
3     * (C) 2008-2017 TeraTerm Project
4     * All rights reserved.
5     *
6     * Redistribution and use in source and binary forms, with or without modification,
7     * are permitted provided that the following conditions are met:
8     *
9     * 1. Redistributions of source code must retain the above copyright notice,
10     * this list of conditions and the following disclaimer.
11     * 2. Redistributions in binary form must reproduce the above copyright notice,
12     * this list of conditions and the following disclaimer in the documentation
13     * and/or other materials provided with the distribution.
14     * 3. The name of the author may not be used to endorse or promote products derived
15     * from this software without specific prior written permission.
16     *
17     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
18     * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19     * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20     * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21     * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22     * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24     * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
25     * OF SUCH DAMAGE.
26     */
27 maya 3227
28     /* TERATERM.EXE, Printing routines */
29    
30     #ifdef __cplusplus
31     extern "C" {
32     #endif
33    
34     /* prototypes */
35     HDC PrnBox(HWND HWin, PBOOL Sel);
36     BOOL PrnStart(LPSTR DocumentName);
37     void PrnStop();
38    
39     #define IdPrnCancel 0
40     #define IdPrnScreen 1
41     #define IdPrnSelectedText 2
42     #define IdPrnScrollRegion 4
43     #define IdPrnFile 8
44    
45     int VTPrintInit(int PrnFlag);
46     void PrnSetAttr(TCharAttr Attr);
47     void PrnOutText(PCHAR Buff, int Count);
48     void PrnNewLine();
49     void VTPrintEnd();
50    
51     void PrnFileDirectProc();
52     void PrnFileStart();
53     void OpenPrnFile();
54     void ClosePrnFile();
55     void WriteToPrnFile(BYTE b, BOOL Write);
56    
57     #ifdef __cplusplus
58     }
59     #endif
60    

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26