author | zecke <zecke> | 2002-05-30 20:36:32 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-05-30 20:36:32 (UTC) |
commit | 5ccef6fc78375e668af32138b244ec476418de1f (patch) (side-by-side diff) | |
tree | 49246fa2de64fe5afd9d19b959085a9b8630ab23 /noncore/net/opietooth/lib/services.h | |
parent | 82f086d29f36ca631d26f8a4a70fd1e809c58364 (diff) | |
download | opie-5ccef6fc78375e668af32138b244ec476418de1f.zip opie-5ccef6fc78375e668af32138b244ec476418de1f.tar.gz opie-5ccef6fc78375e668af32138b244ec476418de1f.tar.bz2 |
Docu updates
Diffstat (limited to 'noncore/net/opietooth/lib/services.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/services.h | 58 |
1 files changed, 57 insertions, 1 deletions
diff --git a/noncore/net/opietooth/lib/services.h b/noncore/net/opietooth/lib/services.h index 7701f12..4a4dea8 100644 --- a/noncore/net/opietooth/lib/services.h +++ b/noncore/net/opietooth/lib/services.h @@ -6,24 +6,79 @@ namespace OpieTooth { + /** + * Services lets shows you all available services + * on a remote device + */ class Services { + + /** The profile descriptor + * + */ class ProfileDesriptor{ public: + /** typedef */ typedef QValueList<ProfileDescriptor> ValueList; + /** c'tor for QValueList */ ProfileDescriptor(); - ProfileDescriptor(const QString &id, uint, uint version ); + /** + * c'tor + * @param id The id or name ("Lan Access Using PPP") + * @param idInt The id as uint ( 0x1102 ) + * @param version Version of the Profile ( 1 ) + */ + ProfileDescriptor(const QString &id, uint idInt, uint version ); + /** + * copy c'tor + */ ProfileDescriptor(const ProfileDescriptor& ); + /** + * returns the id + */ QString id()const; + /** + * sets the id + */ void setId(const QString& id); + + /** + * sets the uint id + */ void setId(uint ); + /** + * reutns the id as int + */ uint idInt()const; + /** + * returns the version + */ uint version()const; + /** + * sets the Version + */ void setVersion(uint version ); + /** + * copy operator + */ ProfileDescriptor &operator=( const ProfileDescriptor ); + /** + * operator== + */ friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); }; + /** + * Protocol Descriptor + */ class ProtocolDescriptor { public: typedef QValueList<ProtocolDescriptor> ValueList; + /** + * c'tor + */ ProtocolDescriptor(); + /** + * name + * number + * channel/port + */ ProtocolDescriptor(const QString&, uint, uint channel ); // Q_UINT8 ? ProtocolDescriptot(const ProtocolDescriptor& ); @@ -39,4 +94,5 @@ namespace OpieTooth { const ProtocolDescription& ); }; + public: typedef QValueList<Services> ValueList; |