Diffstat (limited to 'noncore/net/opietooth/lib/services.h') (more/less context) (ignore 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 @@ -16,3 +16,3 @@ namespace OpieTooth { */ - class ProfileDesriptor{ + class ProfileDescriptor{ public: @@ -61,3 +61,3 @@ namespace OpieTooth { */ - ProfileDescriptor &operator=( const ProfileDescriptor ); + ProfileDescriptor &operator=( const ProfileDescriptor& ); /** @@ -66,2 +66,6 @@ namespace OpieTooth { friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); + private: + QString m_id; + uint m_idInt; + uint m_version; }; @@ -83,3 +87,3 @@ namespace OpieTooth { ProtocolDescriptor(const QString&, uint, uint channel ); // Q_UINT8 ? - ProtocolDescriptot(const ProtocolDescriptor& ); + ProtocolDescriptor(const ProtocolDescriptor& ); ~ProtocolDescriptor(); @@ -92,4 +96,8 @@ namespace OpieTooth { ProtocolDescriptor &operator=( const ProtocolDescriptor& ); - friend bool operator==( const ProtocolDescription&, - const ProtocolDescription& ); + friend bool operator==( const ProtocolDescriptor&, + const ProtocolDescriptor& ); + private: + QString m_name; + uint m_number; + uint m_channel; }; |