Index: src/ch/FeedbackReplaceDlg.h =================================================================== diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -r22bbc4a87fa0b249e1e02ba385f28da9d77a4aa1 --- src/ch/FeedbackReplaceDlg.h (.../FeedbackReplaceDlg.h) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/ch/FeedbackReplaceDlg.h (.../FeedbackReplaceDlg.h) (revision 22bbc4a87fa0b249e1e02ba385f28da9d77a4aa1) @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2001-2008 by J�zef Starosczyk * + * Copyright (C) 2001-2008 by Jozef Starosczyk * * ixen@copyhandler.com * * * * This program is free software; you can redistribute it and/or modify * @@ -19,19 +19,12 @@ #ifndef __FEEDBACKREPLACEDLG_H__ #define __FEEDBACKREPLACEDLG_H__ -#include "afxwin.h" -#include "resource.h" -class CFileInfo; - class CFeedbackReplaceDlg : public ictranslate::CLanguageDialog { DECLARE_DYNAMIC(CFeedbackReplaceDlg) -public: - // Dialog Data - enum { IDD = IDD_FEEDBACK_REPLACE_DIALOG }; public: - CFeedbackReplaceDlg(const CFileInfo* pfiSrcFile, const CFileInfo* pfiDstFile, CWnd* pParent = NULL); // standard constructor + CFeedbackReplaceDlg(const CFileInfoPtr& spSrcFile, const CFileInfoPtr& spDstFile, CWnd* pParent = NULL); // standard constructor virtual ~CFeedbackReplaceDlg(); virtual BOOL OnInitDialog(); @@ -43,16 +36,18 @@ void RefreshImages(); DECLARE_MESSAGE_MAP() -public: + + public: CStatic m_ctlSrcIcon; CStatic m_ctlDstIcon; CStatic m_ctlSrcInfo; CStatic m_ctlDstInfo; BOOL m_bAllItems; protected: - const CFileInfo* m_pfiSrcFile; - const CFileInfo* m_pfiDstFile; + const CFileInfoPtr m_spSrcFile; + const CFileInfoPtr m_spDstFile; + public: afx_msg void OnBnClickedReplaceButton(); afx_msg void OnBnClickedCopyRestButton();