#if !defined(AFX_DLGPROTECTUPDATE_H__6797D16B_EF49_4356_9A4E_17263152A748__INCLUDED_) #define AFX_DLGPROTECTUPDATE_H__6797D16B_EF49_4356_9A4E_17263152A748__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DlgProtectUpdate.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDlgProtectUpdate dialog #include "TextProgressCtrl.h" #include "XInfoTip.h" #include "protect_info.h" class CDlgProtectUpdate : public CDialog { // Construction public: CDlgProtectUpdate(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CDlgProtectUpdate) enum { IDD = IDD_DIALOG_PROTECT }; CListCtrl m_ctrListPackage; CTextProgressCtrl m_prUpgrade; CString m_sEdSelectDevice; CString m_sEdTypeMajor; CString m_sEdTypeMinor; CString m_sEdBrowse; CString m_sEdVersion; CString m_sEdCompanyName; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDlgProtectUpdate) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CDlgProtectUpdate) afx_msg void OnButtonClose(); afx_msg void OnButtonBrowse(); afx_msg void OnButtonUpdate(); virtual BOOL OnInitDialog(); //}}AFX_MSG DECLARE_MESSAGE_MAP() BOOL PreTranslateMessage(MSG* pMsg); public: void UpdateInfo(CString path); int upgrade_thread(const char *ip, const char *file, int flag, char* id, char* pw_hash); void set_progress(int pos); void EnableControl(BOOL bEn); int init_package_info_column(); int refresh_package_information(const char* path); int enable_package_info(BOOL bEnable); void add_sub_data(enc_info* info); BOOL act_update(); CXInfoTip m_tip_fd; BOOL m_bDisableFd; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DLGPROTECTUPDATE_H__6797D16B_EF49_4356_9A4E_17263152A748__INCLUDED_)