17 lines
350 B
C++
17 lines
350 B
C++
#ifndef ABSTRACTDEVICE_H
|
|
#define ABSTRACTDEVICE_H
|
|
#include <QByteArray>
|
|
|
|
class CAbstractDevice
|
|
{
|
|
public:
|
|
virtual int NewDeviceFrameReceived(QByteArray Frame) = 0;
|
|
virtual int GetDeviceID(){return mDeviceID;}
|
|
virtual int GetDeviceAddress(){return mDeviceAddress;}
|
|
|
|
int mDeviceID;
|
|
int mDeviceAddress;
|
|
|
|
};
|
|
#endif // ABSTRACTDEVICE_H
|