summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/services.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/opietooth/lib/services.h b/noncore/net/opietooth/lib/services.h
index 7cce5e1..02629e6 100644
--- a/noncore/net/opietooth/lib/services.h
+++ b/noncore/net/opietooth/lib/services.h
@@ -1,30 +1,30 @@
1 1
2#ifndef OpieToothServices_H 2#ifndef OpieToothServices_H
3#define OpieToothServices_H 3#define OpieToothServices_H
4 4
5#include <qmap.h> 5#include <qmap.h>
6#include <qvaluelist.h> 6#include <qvaluelist.h>
7 7
8namespace OpieTooth { 8namespace OpieTooth {
9 /** 9 /**
10 * Services lets shows you all available services 10 * Services lets shows you all available services
11 * on a remote device 11 * on a remote device
12 */ 12 */
13 class Services { 13 class Services {
14 14 public:
15 /** The profile descriptor 15 /** The profile descriptor
16 * 16 *
17 */ 17 */
18 class ProfileDescriptor{ 18 class ProfileDescriptor{
19 public: 19 public:
20 /** typedef */ 20 /** typedef */
21 typedef QValueList<ProfileDescriptor> ValueList; 21 typedef QValueList<ProfileDescriptor> ValueList;
22 /** c'tor for QValueList */ 22 /** c'tor for QValueList */
23 ProfileDescriptor(); 23 ProfileDescriptor();
24 /** 24 /**
25 * c'tor 25 * c'tor
26 * @param id The id or name ("Lan Access Using PPP") 26 * @param id The id or name ("Lan Access Using PPP")
27 * @param idInt The id as uint ( 0x1102 ) 27 * @param idInt The id as uint ( 0x1102 )
28 * @param version Version of the Profile ( 1 ) 28 * @param version Version of the Profile ( 1 )
29 */ 29 */
30 ProfileDescriptor(const QString &id, int idInt, int version ); 30 ProfileDescriptor(const QString &id, int idInt, int version );
@@ -57,32 +57,33 @@ namespace OpieTooth {
57 * sets the Version 57 * sets the Version
58 */ 58 */
59 void setVersion(int version ); 59 void setVersion(int version );
60 /** 60 /**
61 * copy operator 61 * copy operator
62 */ 62 */
63 ProfileDescriptor &operator=( const ProfileDescriptor& ); 63 ProfileDescriptor &operator=( const ProfileDescriptor& );
64 /** 64 /**
65 * operator== 65 * operator==
66 */ 66 */
67// friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); 67// friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& );
68 private: 68 private:
69 QString m_id; 69 QString m_id;
70 int m_idInt; 70 int m_idInt;
71 int m_version; 71 int m_version;
72 }; 72 };
73 public:
73 /** 74 /**
74 * Protocol Descriptor 75 * Protocol Descriptor
75 */ 76 */
76 class ProtocolDescriptor { 77 class ProtocolDescriptor {
77 public: 78 public:
78 typedef QValueList<ProtocolDescriptor> ValueList; 79 typedef QValueList<ProtocolDescriptor> ValueList;
79 /** 80 /**
80 * c'tor 81 * c'tor
81 */ 82 */
82 ProtocolDescriptor(); 83 ProtocolDescriptor();
83 /** 84 /**
84 * name 85 * name
85 * number 86 * number
86 * channel/port 87 * channel/port
87 */ 88 */
88 ProtocolDescriptor(const QString&, int, int port = -1 ); // Q_UINT8 ? 89 ProtocolDescriptor(const QString&, int, int port = -1 ); // Q_UINT8 ?