📄 bulkcmdtab.h
字号:
/*----------------------------------------------------------------------------
* Copyright (c) 2001 by National Semiconductor Corporation
* National Semiconductor Corporation
* 2900 Semiconductor Drive
* Santa Clara, California 95051
*
* All rights reserved
*
*<<<-------------------------------------------------------------------------
* File Contents:
* BulkCmdTab.h
*
* Project: USB Demo Application
* Author : Yan Nosovitsky
* Date : Dec 2001
*----------------------------------------------------------------------->>>*/
#if !defined(AFX_BULKCMDTAB_H__0054BBEE_D7F3_4120_8158_419882C96A24__INCLUDED_)
#define AFX_BULKCMDTAB_H__0054BBEE_D7F3_4120_8158_419882C96A24__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BulkFunc.h"
#define NUM_DATA_CHUNKS 20
/////////////////////////////////////////////////////////////////////////////
// BulkCmdTab dialog
class BulkCmdTab : public CDialog
{
// Construction
public:
BulkCmdTab(CWnd* pParent = NULL); // standard constructor
void UpdatePipes();
void processStoped();
BulkFunc *bulkFunc;
// Dialog Data
//{{AFX_DATA(BulkCmdTab)
enum { IDD = IDD_BULK_TAB };
CProgressCtrl m_progressBar;
// CComboBox m_dmaUse;
CButton m_immedRadio;
CButton m_delRadio;
CButton m_buttonGo;
CButton m_buttonDet;
CButton m_buttonBrowse;
CButton m_fileRadio;
CButton m_incrRadio;
CEdit m_hexByte;
CEdit m_loopSize;
CEdit m_fileName;
CEdit m_dataSize;
CListBox m_pipesList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(BulkCmdTab)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(BulkCmdTab)
afx_msg void OnButtonBrowse();
afx_msg void OnSelchangeListBulkPipes();
afx_msg void OnButtonBulkGo();
afx_msg void OnButtonBulkDet();
afx_msg void OnIncrRadio();
afx_msg void OnFileRadio();
afx_msg void OnCancel() {}
afx_msg void OnOK() {}
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int selPipe;
bool isUnderTest;
void EnableLoopbackControl(bool bEnable);
void EnableOneDirControl(bool bEnable);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BULKCMDTAB_H__0054BBEE_D7F3_4120_8158_419882C96A24__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -