author | zecke <zecke> | 2002-06-20 22:23:44 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-20 22:23:44 (UTC) |
commit | 7b4a1dfd56b64e588d3fe6c75a51490df13e9797 (patch) (side-by-side diff) | |
tree | 43db3e094004ad478c43d93ddeafed044534035e /noncore/net/opietooth/lib/services.h | |
parent | c2eb66bc5c5ac4225edff8b369026bd208f8c148 (diff) | |
download | opie-7b4a1dfd56b64e588d3fe6c75a51490df13e9797.zip opie-7b4a1dfd56b64e588d3fe6c75a51490df13e9797.tar.gz opie-7b4a1dfd56b64e588d3fe6c75a51490df13e9797.tar.bz2 |
German politicians suck
Diffstat (limited to 'noncore/net/opietooth/lib/services.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/services.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/noncore/net/opietooth/lib/services.h b/noncore/net/opietooth/lib/services.h index 65de049..881d383 100644 --- a/noncore/net/opietooth/lib/services.h +++ b/noncore/net/opietooth/lib/services.h @@ -54,25 +54,25 @@ namespace OpieTooth { int version()const; /** * sets the Version */ void setVersion(int version ); /** * copy operator */ ProfileDescriptor &operator=( const ProfileDescriptor& ); /** * operator== */ - friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); +// friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); private: QString m_id; int m_idInt; int m_version; }; /** * Protocol Descriptor */ class ProtocolDescriptor { public: typedef QValueList<ProtocolDescriptor> ValueList; /** @@ -85,26 +85,26 @@ namespace OpieTooth { * channel/port */ ProtocolDescriptor(const QString&, int, int port = -1 ); // Q_UINT8 ? ProtocolDescriptor(const ProtocolDescriptor& ); ~ProtocolDescriptor(); QString name()const; void setName(const QString& ); int id()const; void setId(int ); int port()const; void setPort(int ); ProtocolDescriptor &operator=( const ProtocolDescriptor& ); - friend bool operator==( const ProtocolDescriptor&, - const ProtocolDescriptor& ); + //friend bool operator==( const ProtocolDescriptor&, + // const ProtocolDescriptor& ); private: QString m_name; int m_number; int m_channel; }; public: typedef QValueList<Services> ValueList; Services(); Services(const Services& service ); ~Services(); @@ -122,17 +122,22 @@ namespace OpieTooth { void setClassIdList(int ); void insertProtocolDescriptor(const ProtocolDescriptor& ); void clearProtocolDescriptorList(); void removeProtocolDescriptor( const ProtocolDescriptor& ); ProtocolDescriptor::ValueList protocolDescriptorList()const; void insertProfileDescriptor( const ProfileDescriptor& ); void clearProfileDescriptorList(); void removeProfileDescriptor(const ProfileDescriptor& ); ProfileDescriptor::ValueList profileDescriptor()const; - - + private: + QString m_name; + int m_recHandle; + QString m_classList; + int m_classId; + QValueList<ProfileDescriptor> m_profiles; + QValueList<ProtocolDescriptor> m_protocols; }; }; #endif |