| 1 |
doda |
6806 |
/* |
| 2 |
|
|
* Copyright (C) 1994-1998 T. Teranishi |
| 3 |
|
|
* (C) 2007-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, file-transfer-protocol dialog box */ |
| 29 |
|
|
|
| 30 |
|
|
// CProtoDlg dialog |
| 31 |
|
|
class CProtoDlg : public CDialog |
| 32 |
|
|
{ |
| 33 |
|
|
private: |
| 34 |
|
|
PFileVar fv; |
| 35 |
|
|
#ifndef NO_I18N |
| 36 |
|
|
HFONT DlgFont; |
| 37 |
|
|
#endif |
| 38 |
|
|
|
| 39 |
|
|
public: |
| 40 |
|
|
#ifndef NO_I18N |
| 41 |
|
|
BOOL Create(PFileVar pfv, PTTSet pts); |
| 42 |
|
|
#else |
| 43 |
|
|
BOOL Create(PFileVar pfv); |
| 44 |
|
|
#endif |
| 45 |
|
|
|
| 46 |
|
|
//{{AFX_DATA(CProtoDlg) |
| 47 |
|
|
enum { IDD = IDD_PROTDLG }; |
| 48 |
|
|
//}}AFX_DATA |
| 49 |
|
|
|
| 50 |
|
|
//{{AFX_VIRTUAL(CProtoDlg) |
| 51 |
|
|
protected: |
| 52 |
|
|
virtual void OnCancel( ); |
| 53 |
|
|
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); |
| 54 |
|
|
virtual void PostNcDestroy(); |
| 55 |
|
|
//}}AFX_VIRTUAL |
| 56 |
|
|
|
| 57 |
|
|
protected: |
| 58 |
|
|
|
| 59 |
|
|
//{{AFX_MSG(CProtoDlg) |
| 60 |
|
|
//}}AFX_MSG |
| 61 |
|
|
DECLARE_MESSAGE_MAP() |
| 62 |
|
|
}; |
| 63 |
|
|
|
| 64 |
|
|
typedef CProtoDlg *PProtoDlg; |