Diffstat (limited to 'noncore/net/opietooth/lib/device.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/device.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/net/opietooth/lib/device.h b/noncore/net/opietooth/lib/device.h index c0e2658..ce7fccc 100644 --- a/noncore/net/opietooth/lib/device.h +++ b/noncore/net/opietooth/lib/device.h | |||
@@ -11,12 +11,13 @@ | |||
11 | class OProcess; | 11 | class OProcess; |
12 | namespace OpieTooth { | 12 | namespace OpieTooth { |
13 | /** | 13 | /** |
14 | * Device takes care of attaching serial | 14 | * Device takes care of attaching serial |
15 | * devices to the blueZ stack. | 15 | * devices to the blueZ stack. |
16 | * After attaching it hciconfig ups it | 16 | * After attaching it hciconfig ups it |
17 | */ | 17 | */ |
18 | class Device : public QObject { | 18 | class Device : public QObject { |
19 | Q_OBJECT | 19 | |
20 | Q_OBJECT | ||
20 | 21 | ||
21 | public: | 22 | public: |
22 | 23 | ||
@@ -26,8 +27,9 @@ namespace OpieTooth { | |||
26 | * | 27 | * |
27 | * @param &device QString the device name | 28 | * @param &device QString the device name |
28 | * @param &mode QString the mode | 29 | * @param &mode QString the mode |
30 | * @param &speed QString the speed of the device, can be left blank | ||
29 | */ | 31 | */ |
30 | Device(const QString &device, const QString& mode); | 32 | Device(const QString &device, const QString& mode, const QString& speed); |
31 | 33 | ||
32 | /** | 34 | /** |
33 | * unloads the device | 35 | * unloads the device |
@@ -77,6 +79,7 @@ namespace OpieTooth { | |||
77 | OProcess* m_process; | 79 | OProcess* m_process; |
78 | QString m_devId; | 80 | QString m_devId; |
79 | QString m_mode; | 81 | QString m_mode; |
82 | QString m_speed; | ||
80 | pid_t pid; | 83 | pid_t pid; |
81 | QCString m_output; | 84 | QCString m_output; |
82 | }; | 85 | }; |