📄 bztestdlg.h
字号:
// BZTestDlg.h : header file
//
#if !defined(AFX_BZTESTDLG_H__5F69F699_95D0_4847_A31C_14392E18435C__INCLUDED_)
#define AFX_BZTESTDLG_H__5F69F699_95D0_4847_A31C_14392E18435C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "../bz2.h"
/////////////////////////////////////////////////////////////////////////////
// CBZTestDlg dialog
class CBZTestDlg : public CDialog , protected CBZ2Compress , protected CBZ2Decompress
{
// Construction
public:
CBZTestDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBZTestDlg)
enum { IDD = IDD_BZTEST_DIALOG };
CString m_szSource;
CString m_szTarget;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBZTestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual unsigned int OnDecompressRead(char* &pBuffer);
virtual void OnDecompressWrite(const char* pBuffer,unsigned int nLength);
virtual void OnCompressWrite(const char* pBuffer,unsigned int nLength);
virtual unsigned int OnCompressRead(char* &pBuffer);
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CBZTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBrowseSource();
afx_msg void OnBrowseTarget();
afx_msg void OnCompress();
afx_msg void OnDecompress();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CFile m_fileTarget;
CFile m_fileSource;
char m_szReadBuffer[16384];
char m_szWriteBuffer[16384];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BZTESTDLG_H__5F69F699_95D0_4847_A31C_14392E18435C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -