summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/services.h
authorzecke <zecke>2002-07-13 12:54:47 (UTC)
committer zecke <zecke>2002-07-13 12:54:47 (UTC)
commitd7f3722f9b7913731978437085b14cc2cccbfa24 (patch) (side-by-side diff)
tree1b190105693609cc01d1ad9730e8925e957209c9 /noncore/net/opietooth/lib/services.h
parent8be0a8e108eaf8ff99301aa175298ddeb48eae67 (diff)
downloadopie-d7f3722f9b7913731978437085b14cc2cccbfa24.zip
opie-d7f3722f9b7913731978437085b14cc2cccbfa24.tar.gz
opie-d7f3722f9b7913731978437085b14cc2cccbfa24.tar.bz2
LIB updates
Class IdList per Service can have more than one line
Diffstat (limited to 'noncore/net/opietooth/lib/services.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/services.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/noncore/net/opietooth/lib/services.h b/noncore/net/opietooth/lib/services.h
index 881d383..7cce5e1 100644
--- a/noncore/net/opietooth/lib/services.h
+++ b/noncore/net/opietooth/lib/services.h
@@ -4,2 +4,3 @@
+#include <qmap.h>
#include <qvaluelist.h>
@@ -118,6 +119,7 @@ namespace OpieTooth {
- QString classIdList()const;
- void setClassIdList( const QString& );
- int classIdListInt()const;
- void setClassIdList(int );
+
+ QMap<int, QString> classIdList()const;
+ void insertClassId( int id, const QString& className );
+ void removeClassId( int id );
+ void clearClassId();
@@ -134,6 +136,5 @@ namespace OpieTooth {
private:
+ QMap<int, QString> m_classIds;
QString m_name;
int m_recHandle;
- QString m_classList;
- int m_classId;
QValueList<ProfileDescriptor> m_profiles;