add a factory for the different connection types
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
#ifndef CANCONFACTORY_H
|
||||
#define CANCONFACTORY_H
|
||||
|
||||
#include "canconconst.h"
|
||||
#include "canconnection.h"
|
||||
|
||||
class CanConFactory
|
||||
{
|
||||
public:
|
||||
CanConFactory();
|
||||
static CANConnection* create(CANCon::type, QString pPortName);
|
||||
};
|
||||
|
||||
#endif // CANCONFACTORY_H
|
||||
#endif // CANCONFACTORY_H
|
||||
|
||||
Reference in New Issue
Block a user