Preliminary pass at converting connection system to use a more generic
approach and support more devices and multiple devices at the same time.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef CANCONNECTIONCONTAINER_H
|
||||
#define CANCONNECTIONCONTAINER_H
|
||||
|
||||
#include "canconnection.h"
|
||||
#include <QThread>
|
||||
|
||||
class CANConnectionContainer
|
||||
{
|
||||
public:
|
||||
CANConnectionContainer(CANConnection *conn);
|
||||
~CANConnectionContainer();
|
||||
|
||||
CANConnection* getRef();
|
||||
|
||||
|
||||
private:
|
||||
CANConnection *connection;
|
||||
QThread *thread;
|
||||
};
|
||||
|
||||
#endif // CANCONNECTIONCONTAINER_H
|
||||
Reference in New Issue
Block a user