cdlgdiff.h

来自「日本的开源编辑器源码」· C头文件 代码 · 共 86 行

H
86
字号
//	$Id: CDlgDiff.h,v 1.3 2004/02/28 07:13:26 genta Exp $
/*!	@file
	@brief DIFF差分表示ダイアログボックス

	@author MIK
	$Revision: 1.3 $
*/
/*
	Copyright (C) 2002, MIK

	This software is provided 'as-is', without any express or implied
	warranty. In no event will the authors be held liable for any damages
	arising from the use of this software.

	Permission is granted to anyone to use this software for any purpose, 
	including commercial applications, and to alter it and redistribute it 
	freely, subject to the following restrictions:

		1. The origin of this software must not be misrepresented;
		   you must not claim that you wrote the original software.
		   If you use this software in a product, an acknowledgment
		   in the product documentation would be appreciated but is
		   not required.

		2. Altered source versions must be plainly marked as such, 
		   and must not be misrepresented as being the original software.

		3. This notice may not be removed or altered from any source
		   distribution.
*/

class CDlgDiff;

#ifndef _CDLGDIFF_H_
#define _CDLGDIFF_H_

#include "CDialog.h"
/*!
	@brief DIFF差分表示ダイアログボックス
*/
class CDlgDiff : public CDialog
{
public:
	/*
	||  Constructors
	*/
	CDlgDiff();

	/*
	||  Attributes & Operations
	*/
	int DoModal( HINSTANCE, HWND, LPARAM, const char*, BOOL );	/* モーダルダイアログの表示 */

	char	m_szFile1[_MAX_PATH];	/* 自ファイル */
	char	m_szFile2[_MAX_PATH];	/* 相手ファイル */
	BOOL	m_bIsModified;			/* 自ファイル更新中 */
	BOOL	m_bIsModifiedDst;		/* 相手ファイル更新中 */
	int		m_nDiffFlgOpt;			/* DIFFオプション */
	//int		m_nDiffFlgFile12;		/* 新旧ファイル */
	HWND	m_hWnd_Dst;				/* 相手ウインドウハンドル */

protected:
	/*
	||  実装ヘルパ関数
	*/
	BOOL	OnBnClicked( int );
	BOOL	OnCbnSelChange( HWND hwndCtl, int wID );
	BOOL	OnEditChange( HWND hwndCtl, int wID );
	LPVOID	GetHelpIdTable(void);

	void	SetData( void );	/* ダイアログデータの設定 */
	int		GetData( void );	/* ダイアログデータの取得 */

private:
	//	Feb. 28, 2004 genta 最後に選択されていた番号を保存する
	int m_nIndexSave;
};



///////////////////////////////////////////////////////////////////////
#endif /* _CDLGDIFF_H_ */

/*[EOF]*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?