summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/services.h
authorzecke <zecke>2002-06-19 20:17:39 (UTC)
committer zecke <zecke>2002-06-19 20:17:39 (UTC)
commit5c56a4cb4bd0aaf3fb2145feb018f8d074a58da2 (patch) (unidiff)
tree39df033332c4d8f35f8542a731697cf564a04535 /noncore/net/opietooth/lib/services.h
parent4c943ea6682e53c2039881aab72f6e003b78880d (diff)
downloadopie-5c56a4cb4bd0aaf3fb2145feb018f8d074a58da2.zip
opie-5c56a4cb4bd0aaf3fb2145feb018f8d074a58da2.tar.gz
opie-5c56a4cb4bd0aaf3fb2145feb018f8d074a58da2.tar.bz2
sdptool parser
Diffstat (limited to 'noncore/net/opietooth/lib/services.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/services.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/noncore/net/opietooth/lib/services.h b/noncore/net/opietooth/lib/services.h
index 8e9378a..65de049 100644
--- a/noncore/net/opietooth/lib/services.h
+++ b/noncore/net/opietooth/lib/services.h
@@ -26,7 +26,7 @@ namespace OpieTooth {
26 * @param idInt The id as uint ( 0x1102 ) 26 * @param idInt The id as uint ( 0x1102 )
27 * @param version Version of the Profile ( 1 ) 27 * @param version Version of the Profile ( 1 )
28 */ 28 */
29 ProfileDescriptor(const QString &id, uint idInt, uint version ); 29 ProfileDescriptor(const QString &id, int idInt, int version );
30 /** 30 /**
31 * copy c'tor 31 * copy c'tor
32 */ 32 */
@@ -41,21 +41,21 @@ namespace OpieTooth {
41 void setId(const QString& id); 41 void setId(const QString& id);
42 42
43 /** 43 /**
44 * sets the uint id 44 * sets the int id
45 */ 45 */
46 void setId(uint ); 46 void setId(int );
47 /** 47 /**
48 * reutns the id as int 48 * reutns the id as int
49 */ 49 */
50 uint idInt()const; 50 int idInt()const;
51 /** 51 /**
52 * returns the version 52 * returns the version
53 */ 53 */
54 uint version()const; 54 int version()const;
55 /** 55 /**
56 * sets the Version 56 * sets the Version
57 */ 57 */
58 void setVersion(uint version ); 58 void setVersion(int version );
59 /** 59 /**
60 * copy operator 60 * copy operator
61 */ 61 */
@@ -66,8 +66,8 @@ namespace OpieTooth {
66 friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& ); 66 friend bool operator==(const ProfileDescriptor&, const ProfileDescriptor& );
67 private: 67 private:
68 QString m_id; 68 QString m_id;
69 uint m_idInt; 69 int m_idInt;
70 uint m_version; 70 int m_version;
71 }; 71 };
72 /** 72 /**
73 * Protocol Descriptor 73 * Protocol Descriptor
@@ -84,22 +84,22 @@ namespace OpieTooth {
84 * number 84 * number
85 * channel/port 85 * channel/port
86 */ 86 */
87 ProtocolDescriptor(const QString&, uint, uint channel ); // Q_UINT8 ? 87 ProtocolDescriptor(const QString&, int, int port = -1 ); // Q_UINT8 ?
88 ProtocolDescriptor(const ProtocolDescriptor& ); 88 ProtocolDescriptor(const ProtocolDescriptor& );
89 ~ProtocolDescriptor(); 89 ~ProtocolDescriptor();
90 QString name()const; 90 QString name()const;
91 void setName(const QString& ); 91 void setName(const QString& );
92 uint id()const; 92 int id()const;
93 void setId(uint ); 93 void setId(int );
94 uint port()const; 94 int port()const;
95 void setPort(uint ); 95 void setPort(int );
96 ProtocolDescriptor &operator=( const ProtocolDescriptor& ); 96 ProtocolDescriptor &operator=( const ProtocolDescriptor& );
97 friend bool operator==( const ProtocolDescriptor&, 97 friend bool operator==( const ProtocolDescriptor&,
98 const ProtocolDescriptor& ); 98 const ProtocolDescriptor& );
99 private: 99 private:
100 QString m_name; 100 QString m_name;
101 uint m_number; 101 int m_number;
102 uint m_channel; 102 int m_channel;
103 }; 103 };
104 104
105 public: 105 public: