// HiDocToolDlg.h : _xZkqqHx_iDhHiDgCiDfPiBfL_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#if !defined(AFX_HIDOCTOOLDLG_H__C023CD92_CD54_4C70_BDCA_1ED1F9FACA03__INCLUDED_)
#define AFX_HIDOCTOOLDLG_H__C023CD92_CD54_4C70_BDCA_1ED1F9FACA03__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

enum FTFileKind;
class FCFile32;

/////////////////////////////////////////////////////////////////////////////
// CHiDocToolDlg _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

class CHiDocToolDlg : public CDialog
{
// _xZkqqHx_iNfMjChK_xHqqkZx_
public:
	CHiDocToolDlg (	BOOL bIsDirect,
					const wchar_t* wcpFilePath,
					BOOL bIsMoveToDesktop,
					CWnd* pParent = NULL);	// _xZkqqHx_jFfHiPiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CHiDocToolDlg)
	enum { IDD = IDD_HIDOCTOOL_DIALOG };
		// _xZkqqHx_iDiBiDiC_xHqqkZx_: _xZkqqHx_iClBiCmMiImKjChFiCmJ_xHqqkZx_ ClassWizard _xZkqqHx_iCmJiCoGiCmBiCmEiDgGiBfLiDfO_xHqqkZx_ _xZkqqHx_iDiBiDjDiDgPiCkKjCmHiJmBiClDiCoKiCnMiClHiBeC_xHqqkZx_
	//}}AFX_DATA

	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CHiDocToolDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV _xZkqqHx_iCmMiDfEiDhMiBfLiDgH_xHqqkZx_
	//}}AFX_VIRTUAL

// _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_
protected:
	HICON m_hIcon;

	// _xZkqqHx_jAlGjAkMiClDiCoKiClNiDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDhNiDgCiDhGiKnGjAjE_xHqqkZx_
	//{{AFX_MSG(CHiDocToolDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnMainBtnProjectFile();
	afx_msg void OnMainBtnStartRecover();
	//}}AFX_MSG
	afx_msg LRESULT OnUserProceedDirect(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
// 06.03.11 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	virtual void	SetFilePath (const wchar_t* wcpFilePath);

protected:
	virtual void	PrintMessage (DWORD dwId);
	virtual void	PrintMessage (const wchar_t* wcpText);
//----- 06.03.10 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	virtual void	Remove (const wchar_t* wcpFile,
//							FTFileKind fileKind);
//	virtual void	Rename (const wchar_t* wcpFileFrom,
//							const wchar_t* wcpFileTo,
//							FTFileKind fileKind);
//----- 06.03.10 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 06.03.10 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	virtual void	GetDataFileName (vector<WString>& vDataFileName,
//									FCFile32& fileRecoverDiffTop,
//									const wchar_t* wcpProjectPath);
//	virtual void	LockDataFile (vector<FCAutoFH>& vDataFileLockFh,
//									const vector<WString>& vDataFileName);
//	virtual void	UnlockDataFile (vector<FCAutoFH>& vDataFileLockFh);
//----- 06.03.10 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	virtual void	PatchRecoverFile (	FCFile32& fileRecover,
										const wchar_t* wcpProjectPath);
	virtual void	OnDeleteDirectoryProc (FCFile32& fileRecover, const wchar_t* wcpDataFilePath);
	virtual void	OnCreateDirectoryProc (FCFile32& fileRecover, const wchar_t* wcpDataFilePath);
	virtual void	OnDeleteFileProc (FCFile32& fileRecover, const wchar_t* wcpDataFilePath);
	virtual void	OnCreateFileProc (FCFile32& fileRecover, const wchar_t* wcpDataFilePath);
	virtual void	OnModifyFileProc (FCFile32& fileRecover, long lCommandTail, const wchar_t* wcpDataFilePath);
	virtual BOOL	DoRecover (const wchar_t* wcpProjectPath);

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
	BOOL	m_bIsDirect;
	WString	m_wstrFilePath;
	BOOL	m_bIsMoveToDesktop;
}; // class CHiDocToolDlg.

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ _xZkqqHx_iCmNjBePiNhDiCmMjClMjBePiCmJjCmHiJmBiCmMjAoJiMlOiCpAjBhNjDpMiClFiCnMiClHiBeC_xHqqkZx_

#endif // !defined(AFX_HIDOCTOOLDLG_H__C023CD92_CD54_4C70_BDCA_1ED1F9FACA03__INCLUDED_)
