all. More development needed but this is a start. Also added ability to set serial speed and bus speed in the device setup which may be useful for other connection devices too.
14 lines
283 B
C++
14 lines
283 B
C++
#ifndef CANCONFACTORY_H
|
|
#define CANCONFACTORY_H
|
|
|
|
#include "canconconst.h"
|
|
#include "canconnection.h"
|
|
|
|
class CanConFactory
|
|
{
|
|
public:
|
|
static CANConnection* create(CANCon::type, QString pPortName, QString pDriverName, int pSerialSpeed, int pBusSpeed);
|
|
};
|
|
|
|
#endif // CANCONFACTORY_H
|