18 #ifndef KRADIO_SOUNDSTREAMID_H 19 #define KRADIO_SOUNDSTREAMID_H 25 #include <kdemacros.h> 26 #include <QtCore/QMetaType> 33 SoundStreamID(
const SoundStreamID &org);
35 SoundStreamID &operator = (
const SoundStreamID &
id);
37 static SoundStreamID createNewID();
38 static SoundStreamID createNewID(
const SoundStreamID &oldID);
40 bool operator == (
const SoundStreamID
id)
const {
return m_ID ==
id.m_ID; }
41 bool operator != (
const SoundStreamID
id)
const {
return m_ID !=
id.m_ID; }
42 bool operator > (
const SoundStreamID
id)
const {
return m_ID >
id.m_ID; }
43 bool operator < (
const SoundStreamID
id)
const {
return m_ID <
id.m_ID; }
44 bool operator >= (
const SoundStreamID
id)
const {
return m_ID >=
id.m_ID; }
45 bool operator <= (
const SoundStreamID
id)
const {
return m_ID <=
id.m_ID; }
49 bool isValid()
const {
return m_ID != 0; }
54 int getID()
const {
return m_ID; }
bool HasSamePhysicalID(const SoundStreamID &x) const
int getPhysicalID() const
static unsigned nextPhysicalID
static const SoundStreamID InvalidID