Index: src/ch/MainWnd.h =================================================================== diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -rf703b71b8c856e2538283555e9fdbc84918677c3 --- src/ch/MainWnd.h (.../MainWnd.h) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/ch/MainWnd.h (.../MainWnd.h) (revision f703b71b8c856e2538283555e9fdbc84918677c3) @@ -22,23 +22,11 @@ #include "TrayIcon.h" #include "structs.h" -#include "MiniviewDlg.h" -#include "DataBuffer.h" -#include "StatusDlg.h" -#include "FeedbackHandler.h" +#include "task.h" -typedef struct _CUSTOM_COPY_PARAMS -{ - CTask* pTask; // ptr to CTask object on which we do the operation +class CMiniViewDlg; +class CStatusDlg; - CFileInfo* pfiSrcFile; // CFileInfo - src file - CString strDstFile; // dest path with filename - - CDataBuffer dbBuffer; // buffer handling - bool bOnlyCreate; // flag from configuration - skips real copying - only create - bool bProcessed; // has the element been processed ? (false if skipped) -} CUSTOM_COPY_PARAMS, *PCUSTOM_COPY_PARAMS; - class CMainWnd : public CWnd { public: @@ -50,7 +38,6 @@ // Attributes public: CTrayIcon m_ctlTray; - CLIPBOARDMONITORDATA cmd; CTaskArray m_tasks; chcore::IFeedbackHandlerFactory* m_pFeedbackFactory; @@ -77,9 +64,9 @@ // Generated message map functions protected: - ATOM RegisterClass(); + BOOL RegisterClass(); int ShowTrayIcon(); - void ShowStatusWindow(const CTask* pSelect=NULL); + void ShowStatusWindow(const CTaskPtr& spSelect = CTaskPtr()); void PrepareToExit(); //{{AFX_MSG(CMainWnd) afx_msg void OnPopupShowStatus();