Diffstat (limited to 'noncore/net/opietooth/lib/services.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/services.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/noncore/net/opietooth/lib/services.h b/noncore/net/opietooth/lib/services.h new file mode 100644 index 0000000..52d4893 --- a/dev/null +++ b/noncore/net/opietooth/lib/services.h | |||
@@ -0,0 +1,37 @@ | |||
1 | |||
2 | #ifndef OpieToothServices_H | ||
3 | #define OpieToothServices_H | ||
4 | |||
5 | #include <qvaluelist.h> | ||
6 | |||
7 | namespace OpieTooth { | ||
8 | class Services { | ||
9 | class ProtocolDescriptor { | ||
10 | public: | ||
11 | typedef QValueList<ProtocolDescriptor> ValueList; | ||
12 | ProtocolDescriptor(const QString& ); | ||
13 | |||
14 | }; | ||
15 | public: | ||
16 | typedef QValueList<Services> ValueList; | ||
17 | Services(); | ||
18 | Services(const Services& service ); | ||
19 | ~Services(); | ||
20 | |||
21 | QString serviceName()const; | ||
22 | void setServiceName( const QString& service ); | ||
23 | |||
24 | int recHandle()const; | ||
25 | void setRecHandle( int ); | ||
26 | |||
27 | QString classIdList()const; | ||
28 | void setClassIdList( const QString& ); | ||
29 | int classIdListInt()const; | ||
30 | void setClassIdList(int ); | ||
31 | |||
32 | |||
33 | |||
34 | |||
35 | }; | ||
36 | }; | ||
37 | #endif | ||