GME
13
|
00001 #if !defined(AFX_METAPURGEDIALOG_H__9C38953B_5AE0_414D_B11E_740E9173503F__INCLUDED_) 00002 #define AFX_METAPURGEDIALOG_H__9C38953B_5AE0_414D_B11E_740E9173503F__INCLUDED_ 00003 00004 #if _MSC_VER > 1000 00005 #pragma once 00006 #endif // _MSC_VER > 1000 00007 // MetaPurgeDialog.h : header file 00008 // 00009 00011 // CMetaPurgeDialog dialog 00012 00013 class CMetaPurgeDialog : public CDialog 00014 { 00015 // Construction 00016 public: 00017 CMetaPurgeDialog(CString ¶digmname, IMgaRegistrar *reg, CWnd* pParent = NULL); // standard constructor 00018 00019 // Dialog Data 00020 //{{AFX_DATA(CMetaPurgeDialog) 00021 enum { IDD = IDD_METAPURGEDIALOG }; 00022 CListCtrl m_list; 00023 int m_delfiles; 00024 //}}AFX_DATA 00025 00026 00027 // Overrides 00028 // ClassWizard generated virtual function overrides 00029 //{{AFX_VIRTUAL(CMetaPurgeDialog) 00030 protected: 00031 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00032 //}}AFX_VIRTUAL 00033 00034 // Implementation 00035 protected: 00036 static int CALLBACK SortFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort); 00037 afx_msg void OnParadigmsHeader(NMHDR* pNMHDR, LRESULT* pResult); 00038 00039 // Generated message map functions 00040 //{{AFX_MSG(CMetaPurgeDialog) 00041 virtual BOOL OnInitDialog(); 00042 afx_msg void OnCancelMode(); 00043 afx_msg void OnPurge(); 00044 afx_msg void OnSetcurrent(); 00045 afx_msg void OnClose(); 00046 afx_msg void OnOK(); 00047 //}}AFX_MSG 00048 void OnCheckFiles(); 00049 DECLARE_MESSAGE_MAP() 00050 private: 00051 void ResetItems(); 00052 CComPtr<IMgaRegistrar> registrar; 00053 CString paradigm; 00054 }; 00055 00056 //{{AFX_INSERT_LOCATION}} 00057 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00058 00059 #endif // !defined(AFX_METAPURGEDIALOG_H__9C38953B_5AE0_414D_B11E_740E9173503F__INCLUDED_)