From 7080f9f10443d7a8e61d01b5a1c0e9c972f6baca Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 03 Jun 2002 20:14:29 +0000 Subject: attaching and detaching is now working --- (limited to 'noncore/net/opietooth/lib/services.h') 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 { /** The profile descriptor * */ - class ProfileDesriptor{ + class ProfileDescriptor{ public: /** typedef */ typedef QValueList ValueList; @@ -59,11 +59,15 @@ namespace OpieTooth { /** * copy operator */ - ProfileDescriptor &operator=( const ProfileDescriptor ); + ProfileDescriptor &operator=( const ProfileDescriptor& ); /** * operator== */ friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); + private: + QString m_id; + uint m_idInt; + uint m_version; }; /** * Protocol Descriptor @@ -81,7 +85,7 @@ namespace OpieTooth { * channel/port */ ProtocolDescriptor(const QString&, uint, uint channel ); // Q_UINT8 ? - ProtocolDescriptot(const ProtocolDescriptor& ); + ProtocolDescriptor(const ProtocolDescriptor& ); ~ProtocolDescriptor(); QString name()const; void setName(const QString& ); @@ -90,8 +94,12 @@ namespace OpieTooth { uint port()const; void setPort(uint ); 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; }; public: -- cgit v0.9.0.2