| 1 | // Copyright (C) 2021 Andre Hartmann <aha_1980@gmx.de> | 
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only | 
| 3 |  | 
| 4 | #ifndef QCANBUSDEVICEINFO_P_H | 
| 5 | #define QCANBUSDEVICEINFO_P_H | 
| 6 |  | 
| 7 | // | 
| 8 | //  W A R N I N G | 
| 9 | //  ------------- | 
| 10 | // | 
| 11 | // This file is not part of the Qt API.  It exists purely as an | 
| 12 | // implementation detail.  This header file may change from version to | 
| 13 | // version without notice, or even be removed. | 
| 14 | // | 
| 15 | // We mean it. | 
| 16 | // | 
| 17 |  | 
| 18 | #include <QtCore/qshareddata.h> | 
| 19 | #include <QtCore/qstring.h> | 
| 20 | #include <QtCore/private/qglobal_p.h> | 
| 21 |  | 
| 22 | QT_BEGIN_NAMESPACE | 
| 23 |  | 
| 24 | class QCanBusDeviceInfoPrivate : public QSharedData { | 
| 25 | public: | 
| 26 |     QCanBusDeviceInfoPrivate() { } | 
| 27 |  | 
| 28 |     ~QCanBusDeviceInfoPrivate() | 
| 29 |     { | 
| 30 |     } | 
| 31 |  | 
| 32 |     QString plugin; | 
| 33 |     QString name; | 
| 34 |     QString description; | 
| 35 |     QString serialNumber; | 
| 36 |     QString alias; | 
| 37 |     int  channel = 0; | 
| 38 |     bool hasFlexibleDataRate = false; | 
| 39 |     bool isVirtual = false; | 
| 40 | }; | 
| 41 |  | 
| 42 | QT_END_NAMESPACE | 
| 43 |  | 
| 44 | #endif // QCANBUSDEVICEINFO_P_H | 
| 45 |  |