Develop and Download Open Source Software

Browse Subversion Repository

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9053 - (hide annotations) (download) (as text)
Sun Dec 20 12:06:16 2020 UTC (3 years, 3 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/filesys.h
File MIME type: text/x-chdr
File size: 4491 byte(s)
ttpfile.dll のダイアログを使用しないようにした

- filesys.cpp, filesys_proto.cpp, vtwin.cpp へ移動
  - GetSetupFname()
  - GetTransFname()
  - GetMultiFname()
  - GetGetFname()
  - SetFileVar()
  - GetXFname()
1 doda 6806 /*
2     * Copyright (C) 1994-1998 T. Teranishi
3 nmaya 9048 * (C) 2007- TeraTerm Project
4 doda 6806 * All rights reserved.
5     *
6 doda 6841 * Redistribution and use in source and binary forms, with or without
7     * modification, are permitted provided that the following conditions
8     * are met:
9 doda 6806 *
10 doda 6841 * 1. Redistributions of source code must retain the above copyright
11     * notice, this list of conditions and the following disclaimer.
12     * 2. Redistributions in binary form must reproduce the above copyright
13     * notice, this list of conditions and the following disclaimer in the
14     * documentation and/or other materials provided with the distribution.
15     * 3. The name of the author may not be used to endorse or promote products
16     * derived from this software without specific prior written permission.
17 doda 6806 *
18 doda 6841 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
19     * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21     * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23     * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24     * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25     * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26     * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27     * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 doda 6806 */
29 maya 3227
30 zmatsuo 8900 #pragma once
31    
32 maya 3227 /* TERATERM.EXE, file transfer routines */
33     #ifdef __cplusplus
34     extern "C" {
35     #endif
36 zmatsuo 9053
37     #if 0
38 doda 6801 typedef BOOL (PASCAL *PGetSetupFname)
39 maya 3227 (HWND HWin, WORD FuncId, PTTSet ts);
40 doda 6801 typedef BOOL (PASCAL *PGetTransFname)
41 maya 3227 (PFileVar fv, PCHAR CurDir, WORD FuncId, LPLONG Option);
42 doda 6801 typedef BOOL (PASCAL *PGetMultiFname)
43 maya 3227 (PFileVar fv, PCHAR CurDir, WORD FuncId, LPWORD Option);
44 doda 6801 typedef BOOL (PASCAL *PGetGetFname)
45 zmatsuo 9051 (HWND HWin, PFileVar fv, PTTSet ts);
46 doda 6801 typedef void (PASCAL *PSetFileVar) (PFileVar fv);
47     typedef BOOL (PASCAL *PGetXFname)
48 maya 3227 (HWND HWin, BOOL Receive, LPLONG Option, PFileVar fv, PCHAR CurDir);
49 zmatsuo 9053 #endif
50 doda 6801 typedef void (PASCAL *PProtoInit)
51 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv, PTTSet ts);
52 doda 6801 typedef BOOL (PASCAL *PProtoParse)
53 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
54 doda 6801 typedef void (PASCAL *PProtoTimeOutProc)
55 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
56 doda 6801 typedef BOOL (PASCAL *PProtoCancel)
57 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
58 maya 7182 typedef BOOL (PASCAL *PTTFILESetUILanguageFile)
59     (char *file);
60     typedef BOOL (PASCAL *PTTFILESetFileSendFilter)
61     (char *file);
62 maya 3227
63 zmatsuo 9053 #if 0
64 maya 3227 extern PGetSetupFname GetSetupFname;
65 zmatsuo 9052 extern PGetTransFname GetTransFname;
66 maya 3227 extern PGetMultiFname GetMultiFname;
67     extern PGetGetFname GetGetFname;
68     extern PSetFileVar SetFileVar;
69     extern PGetXFname GetXFname;
70 zmatsuo 9053 #endif
71 maya 3227 extern PProtoInit ProtoInit;
72 zmatsuo 9052 extern PProtoParse ProtoParse;
73 maya 3227 extern PProtoTimeOutProc ProtoTimeOutProc;
74     extern PProtoCancel ProtoCancel;
75 zmatsuo 9053 #if 0
76 maya 7182 extern PTTFILESetUILanguageFile TTFILESetUILanguageFile;
77     extern PTTFILESetFileSendFilter TTFILESetFileSendFilter;
78 zmatsuo 9053 #endif
79 maya 3227
80 zmatsuo 8858 BOOL LoadTTFILE(void);
81     BOOL FreeTTFILE(void);
82 zmatsuo 8949 //BOOL NewFileVar(PFileVar *FV);
83     //void FreeFileVar(PFileVar *FV);
84 zmatsuo 8948 BOOL IsSendVarNULL();
85     BOOL IsFileVarNULL();
86 maya 3227
87 zmatsuo 8858 void FileSendStart(void);
88 zmatsuo 8949 BOOL FileSendStart2(const char *filename, int binary);
89 zmatsuo 8858 void FileSend(void);
90 maya 3227 void FileTransEnd(WORD OpId);
91 zmatsuo 8857 void FileTransPause(WORD OpId, BOOL Pause);
92 maya 3227
93 zmatsuo 8858 void ProtoEnd(void);
94     int ProtoDlgParse(void);
95     void ProtoDlgTimeOut(void);
96     void ProtoDlgCancel(void);
97 maya 3227 void KermitStart(int mode);
98 zmatsuo 8949 BOOL KermitStartSend(const char *filename);
99     BOOL KermitGet(const char *filename);
100     BOOL KermitStartRecive(void);
101     BOOL KermitFinish(void);
102 maya 3227 void XMODEMStart(int mode);
103 zmatsuo 8949 BOOL XMODEMStartReceive(const char *fiename, WORD ParamBinaryFlag, WORD ParamXmodemOpt);
104     BOOL XMODEMStartSend(const char *fiename, WORD ParamXmodemOpt);
105 maya 3227 void YMODEMStart(int mode);
106 zmatsuo 8949 BOOL YMODEMStartReceive(void);
107     BOOL YMODEMStartSend(const char *fiename);
108 maya 3227 void ZMODEMStart(int mode);
109 zmatsuo 8949 BOOL ZMODEMStartReceive(void);
110     BOOL ZMODEMStartSend(const char *fiename, WORD ParamBinaryFlag);
111 maya 3227 void BPStart(int mode);
112 zmatsuo 8949 BOOL BPSendStart(const char *filename);
113     BOOL BPStartReceive(void);
114 maya 3227 void QVStart(int mode);
115 zmatsuo 8949 BOOL QVStartReceive(void);
116     BOOL QVStartSend(const char *filename);
117 maya 3227
118 zmatsuo 8852 extern PFileVar SendVar, FileVar;
119 maya 3227
120     #ifdef __cplusplus
121     }
122     #endif
123 zmatsuo 8900
124     #include "filesys_log.h"

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