⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 patchclientdlg.h

📁 ICE-3.2 一个开源的中间件
💻 H
字号:
// **********************************************************************//// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.//// This copy of Ice is licensed to you under the terms described in the// ICE_LICENSE file included in this distribution.//// **********************************************************************#ifndef PATCH_DLG_H#define PATCH_DLG_H#pragma onceconst int kilobyte = 1024;const int megabyte = 1024 * kilobyte;const int gigabyte = 1024 * megabyte;class CPatchDlg : public CDialog{public:    CPatchDlg(const Ice::CommunicatorPtr&, CWnd* = NULL);    enum { IDD = IDD_PATCHCLIENT_DIALOG };    bool checksumStart();    bool checksumProgress(const std::string&);    bool checksumEnd();    bool fileListStart();    bool fileListProgress(Ice::Int);    bool fileListEnd();    bool patchStart(const std::string&, Ice::Long, Ice::Long, Ice::Long);    bool patchProgress(Ice::Long, Ice::Long, Ice::Long, Ice::Long);    bool patchEnd();protected:    virtual void DoDataExchange(CDataExchange*);    // DDX/DDV supportprotected:    const Ice::CommunicatorPtr _communicator;    IceUtil::Time _startTime;    CEdit* _path;    CButton* _thorough;    CButton* _remove;    CButton* _select;    CButton* _start;    CButton* _cancel;    CStatic* _file;    CStatic* _total;    CStatic* _speed;    CStatic* _status;    CStatic* _percent;    CProgressCtrl* _progress;    bool _isPatch;    bool _isCancel;    bool _isComplete;    HICON _hIcon;    // Generated message map functions    virtual BOOL OnInitDialog();    afx_msg void OnPaint();    afx_msg HCURSOR OnQueryDragIcon();    afx_msg void OnSelectDir();    afx_msg void OnStartPatch();    afx_msg void OnCancel();    DECLARE_MESSAGE_MAP()    void reset(const CString&);    void processMessages();    void handleException(const IceUtil::Exception&);    CString convertSize(Ice::Long) const;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -