From d7f3722f9b7913731978437085b14cc2cccbfa24 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 13 Jul 2002 12:54:47 +0000 Subject: LIB updates Class IdList per Service can have more than one line --- (limited to 'noncore/net/opietooth/lib/services.h') 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 @@ -2,6 +2,7 @@ #ifndef OpieToothServices_H #define OpieToothServices_H +#include #include namespace OpieTooth { @@ -116,10 +117,11 @@ namespace OpieTooth { int recHandle()const; void setRecHandle( int ); - QString classIdList()const; - void setClassIdList( const QString& ); - int classIdListInt()const; - void setClassIdList(int ); + + QMap classIdList()const; + void insertClassId( int id, const QString& className ); + void removeClassId( int id ); + void clearClassId(); void insertProtocolDescriptor(const ProtocolDescriptor& ); void clearProtocolDescriptorList(); @@ -132,10 +134,9 @@ namespace OpieTooth { ProfileDescriptor::ValueList profileDescriptor()const; private: + QMap m_classIds; QString m_name; int m_recHandle; - QString m_classList; - int m_classId; QValueList m_profiles; QValueList m_protocols; }; -- cgit v0.9.0.2