Diffstat (limited to 'noncore/net/opietooth/lib/services.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/services.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/noncore/net/opietooth/lib/services.h b/noncore/net/opietooth/lib/services.h index 4a4dea8..8e9378a 100644 --- a/noncore/net/opietooth/lib/services.h +++ b/noncore/net/opietooth/lib/services.h | |||
@@ -14,7 +14,7 @@ namespace OpieTooth { | |||
14 | /** The profile descriptor | 14 | /** The profile descriptor |
15 | * | 15 | * |
16 | */ | 16 | */ |
17 | class ProfileDesriptor{ | 17 | class ProfileDescriptor{ |
18 | public: | 18 | public: |
19 | /** typedef */ | 19 | /** typedef */ |
20 | typedef QValueList<ProfileDescriptor> ValueList; | 20 | typedef QValueList<ProfileDescriptor> ValueList; |
@@ -59,11 +59,15 @@ namespace OpieTooth { | |||
59 | /** | 59 | /** |
60 | * copy operator | 60 | * copy operator |
61 | */ | 61 | */ |
62 | ProfileDescriptor &operator=( const ProfileDescriptor ); | 62 | ProfileDescriptor &operator=( const ProfileDescriptor& ); |
63 | /** | 63 | /** |
64 | * operator== | 64 | * operator== |
65 | */ | 65 | */ |
66 | friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); | 66 | friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); |
67 | private: | ||
68 | QString m_id; | ||
69 | uint m_idInt; | ||
70 | uint m_version; | ||
67 | }; | 71 | }; |
68 | /** | 72 | /** |
69 | * Protocol Descriptor | 73 | * Protocol Descriptor |
@@ -81,7 +85,7 @@ namespace OpieTooth { | |||
81 | * channel/port | 85 | * channel/port |
82 | */ | 86 | */ |
83 | ProtocolDescriptor(const QString&, uint, uint channel ); // Q_UINT8 ? | 87 | ProtocolDescriptor(const QString&, uint, uint channel ); // Q_UINT8 ? |
84 | ProtocolDescriptot(const ProtocolDescriptor& ); | 88 | ProtocolDescriptor(const ProtocolDescriptor& ); |
85 | ~ProtocolDescriptor(); | 89 | ~ProtocolDescriptor(); |
86 | QString name()const; | 90 | QString name()const; |
87 | void setName(const QString& ); | 91 | void setName(const QString& ); |
@@ -90,8 +94,12 @@ namespace OpieTooth { | |||
90 | uint port()const; | 94 | uint port()const; |
91 | void setPort(uint ); | 95 | void setPort(uint ); |
92 | ProtocolDescriptor &operator=( const ProtocolDescriptor& ); | 96 | ProtocolDescriptor &operator=( const ProtocolDescriptor& ); |
93 | friend bool operator==( const ProtocolDescription&, | 97 | friend bool operator==( const ProtocolDescriptor&, |
94 | const ProtocolDescription& ); | 98 | const ProtocolDescriptor& ); |
99 | private: | ||
100 | QString m_name; | ||
101 | uint m_number; | ||
102 | uint m_channel; | ||
95 | }; | 103 | }; |
96 | 104 | ||
97 | public: | 105 | public: |