a
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
// DetcGD10Dev.h: interface for the CDetcGD10Dev class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_DETCGD10DEV_H__E175DC95_8702_45C3_995E_75975D21F72A__INCLUDED_)
|
||||
#define AFX_DETCGD10DEV_H__E175DC95_8702_45C3_995E_75975D21F72A__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
class CDetcGD10Dev
|
||||
{
|
||||
public:
|
||||
CDetcGD10Dev();
|
||||
virtual ~CDetcGD10Dev();
|
||||
//methods
|
||||
public:
|
||||
static CDetcGD10Dev* GetInstance();
|
||||
bool IsGD10DevConnect(){return m_bGD10DevIsCon;}
|
||||
CString GetGD10DevAddr();
|
||||
void DetectGD10Dev();
|
||||
protected:
|
||||
CString FindUsbDevice(CString strDevName);
|
||||
bool CompareDriverName(CString strDriName,CString strDriverAddr);
|
||||
private:
|
||||
void CDetcGD10Dev::PrintLog(CString strLog);
|
||||
//attributes
|
||||
private:
|
||||
static CDetcGD10Dev* m_pDetcDev;
|
||||
bool m_bGD10DevIsCon; //GD10的设备是否已经连接
|
||||
CString m_strDevAddr;
|
||||
FILE *m_pLogFile;
|
||||
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_DETCGD10DEV_H__E175DC95_8702_45C3_995E_75975D21F72A__INCLUDED_)
|
||||
Reference in New Issue
Block a user