Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/OTDriverList.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/opietooth2/OTDriverList.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/OTDriverList.h b/noncore/settings/networksettings2/opietooth2/OTDriverList.h new file mode 100644 index 0000000..c98ffa0 --- a/dev/null +++ b/noncore/settings/networksettings2/opietooth2/OTDriverList.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /*************************************************************************** | ||
2 | * Copyright (C) 2003 by Mattia Merzi * | ||
3 | * ottobit@ferrara.linux.it * | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | ***************************************************************************/ | ||
10 | |||
11 | #ifndef OTDRIVERLIST_H | ||
12 | #define OTDRIVERLIST_H | ||
13 | |||
14 | #include <qvector.h> | ||
15 | |||
16 | namespace Opietooth2 { | ||
17 | |||
18 | class OTDriver; | ||
19 | class OTGateway; | ||
20 | |||
21 | class OTDriverList : public QVector<OTDriver> { | ||
22 | |||
23 | public: | ||
24 | |||
25 | OTDriverList( OTGateway * _OT ); | ||
26 | ~OTDriverList(); | ||
27 | |||
28 | inline OTGateway * gateway() const | ||
29 | { return OT; } | ||
30 | |||
31 | void update(); | ||
32 | |||
33 | private: | ||
34 | |||
35 | // backpointer | ||
36 | OTGateway * OT; | ||
37 | }; | ||
38 | |||
39 | } | ||
40 | #endif | ||