Code cleanup
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef CANDEVICECONFIG_H
|
||||
#define CANDEVICECONFIG_H
|
||||
#include "PCANBasic.h"
|
||||
#include <QDataStream>
|
||||
#include <QString>
|
||||
|
||||
|
||||
class CCANDeviceConfig
|
||||
{
|
||||
public:
|
||||
CCANDeviceConfig();
|
||||
|
||||
TPCANHandle mCANDeviceID;
|
||||
TPCANBaudrate mCANDeviceBaudrate;
|
||||
QString mCANDeviceDatabaseFilename;
|
||||
QString mDeviceDescription;
|
||||
QString mDeviceName;
|
||||
unsigned int mDevicePollPeriod;
|
||||
|
||||
CCANDeviceConfig &operator=(const CCANDeviceConfig *source);
|
||||
};
|
||||
|
||||
QDataStream &operator<<(QDataStream &out, const CCANDeviceConfig &source);
|
||||
QDataStream &operator>>(QDataStream &in, CCANDeviceConfig &dest);
|
||||
|
||||
#endif // CANDEVICECONFIG_H
|
||||
|
||||
Reference in New Issue
Block a user