Diffstat (limited to 'noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMdata.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMdata.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMdata.h b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMdata.h index 18f0d38..14cfeb0 100644 --- a/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMdata.h +++ b/noncore/settings/networksettings2/bluetooth/bluetoothRFCOMMdata.h | |||
@@ -1,18 +1,22 @@ | |||
1 | #ifndef BLUETOOTHRFCOMM_DATA_H | 1 | #ifndef BLUETOOTHRFCOMM_DATA_H |
2 | #define BLUETOOTHRFCOMM_DATA_H | 2 | #define BLUETOOTHRFCOMM_DATA_H |
3 | 3 | ||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | #include <qvector.h> | ||
5 | 6 | ||
6 | typedef struct BluetoothRFCOMMData { | 7 | class RFCOMMChannel { |
7 | QString Device; | ||
8 | QString LockFile; | ||
9 | long Speed; | ||
10 | short Parity; | ||
11 | short DataBits; | ||
12 | short StopBits; | ||
13 | bool HardwareControl; | ||
14 | bool SoftwareControl; | ||
15 | 8 | ||
16 | } BluetoothRFCOMMData_t; | 9 | public : |
10 | QString BDAddress; | ||
11 | QString Name; | ||
12 | int Channel; | ||
13 | }; | ||
14 | |||
15 | class BluetoothRFCOMMData { | ||
16 | |||
17 | public : | ||
18 | |||
19 | QVector<RFCOMMChannel> Devices; | ||
20 | }; | ||
17 | 21 | ||
18 | #endif | 22 | #endif |