📄 isocmdtab.h
字号:
/*----------------------------------------------------------------------------
* Copyright (c) 2001 by National Semiconductor Corporation
* National Semiconductor Corporation
* 2900 Semiconductor Drive
* Santa Clara, California 95051
*
* All rights reserved
*
*<<<-------------------------------------------------------------------------
* File Contents:
* isoCmdTab.h
*
* Project: USB Demo Application
* Author : Yan Nosovitsky
* Date : Dec 2001
*----------------------------------------------------------------------->>>*/
#if !defined(AFX_ISOCMDTAB_H__412AFF2D_4B1E_450C_A51B_BC003484CEBB__INCLUDED_)
#define AFX_ISOCMDTAB_H__412AFF2D_4B1E_450C_A51B_BC003484CEBB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// isoCmdTab.h : header file
//
#include "IsoFunc.h"
/////////////////////////////////////////////////////////////////////////////
// isoCmdTab dialog
class isoCmdTab : public CDialog
{
// Construction
public:
isoCmdTab(CWnd* pParent = NULL); // standard constructor
void UpdatePipes();
void processStoped();
IsoFunc *isoFunc;
// Dialog Data
//{{AFX_DATA(isoCmdTab)
enum { IDD = IDD_ISO_TAB };
CListBox m_pipesList;
CProgressCtrl m_progressBar;
CEdit m_loopSize;
CEdit m_hexByte;
CEdit m_dataSize;
CButton m_fileRadio;
CButton m_incrRadio;
CEdit m_fileName;
// CComboBox m_dmaUse;
CButton m_buttonGo;
CButton m_buttonDet;
CButton m_buttonBrowse;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(isoCmdTab)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(isoCmdTab)
afx_msg void OnButtonBrowse();
afx_msg void OnSelchangeListIsoPipes();
afx_msg void OnButtonIsoGo();
afx_msg void OnButtonIsoDet();
afx_msg void OnFileRadio();
afx_msg void OnIncrRadio();
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_ISOCMDTAB_H__412AFF2D_4B1E_450C_A51B_BC003484CEBB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -