From 5ccef6fc78375e668af32138b244ec476418de1f Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 30 May 2002 20:36:32 +0000 Subject: Docu updates --- (limited to 'noncore/net') 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 @@ -5,26 +5,81 @@ #include namespace OpieTooth { + /** + * Services lets shows you all available services + * on a remote device + */ class Services { + + /** The profile descriptor + * + */ class ProfileDesriptor{ public: + /** typedef */ typedef QValueList 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 ValueList; + /** + * c'tor + */ ProtocolDescriptor(); + /** + * name + * number + * channel/port + */ ProtocolDescriptor(const QString&, uint, uint channel ); // Q_UINT8 ? ProtocolDescriptot(const ProtocolDescriptor& ); ~ProtocolDescriptor(); @@ -38,6 +93,7 @@ namespace OpieTooth { friend bool operator==( const ProtocolDescription&, const ProtocolDescription& ); }; + public: typedef QValueList ValueList; Services(); -- cgit v0.9.0.2