v2
This commit is contained in:
23
bcmil.h
23
bcmil.h
@@ -1,29 +1,26 @@
|
||||
#ifndef BCMIL_H
|
||||
#define BCMIL_H
|
||||
|
||||
#include "declarations.h"
|
||||
#include "WDMTMKv2.h"
|
||||
#include <QObject>
|
||||
|
||||
class MIL: public QObject
|
||||
#define TMK_DATA unsigned short
|
||||
typedef void *HANDLE;
|
||||
|
||||
class MIL:public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
MIL(int dev_index);
|
||||
~MIL(void);
|
||||
~MIL();
|
||||
|
||||
int WaitInt(TMK_DATA wCtrlCode);
|
||||
void closeAll();
|
||||
void closeAllrt();
|
||||
bool GetEvent(TTmkEventData *pEv, unsigned short Timeout);
|
||||
|
||||
protected:
|
||||
|
||||
bool GetEvent(unsigned short Timeout);
|
||||
int m_TmkIndex;
|
||||
HANDLE m_hEvent;
|
||||
};
|
||||
|
||||
class BC_MIL: public MIL
|
||||
class BC_MIL:public MIL
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -31,12 +28,12 @@ public:
|
||||
~BC_MIL(void);
|
||||
};
|
||||
|
||||
class RT_MIL: public MIL
|
||||
class RT_MIL:public MIL
|
||||
{
|
||||
public:
|
||||
|
||||
RT_MIL(int dev_indexi, unsigned short Addr);
|
||||
~RT_MIL(void);
|
||||
~RT_MIL();
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user