Changeset View
Changeset View
Standalone View
Standalone View
src/profile.cpp
Show All 22 Lines | |||||
23 | namespace QPulseAudio | 23 | namespace QPulseAudio | ||
24 | { | 24 | { | ||
25 | 25 | | |||
26 | Profile::Profile(QObject *parent) | 26 | Profile::Profile(QObject *parent) | ||
27 | : QObject(parent) | 27 | : QObject(parent) | ||
28 | , m_name() | 28 | , m_name() | ||
29 | , m_description() | 29 | , m_description() | ||
30 | , m_priority(0) | 30 | , m_priority(0) | ||
31 | , m_availability(Unknown) | ||||
31 | { | 32 | { | ||
32 | } | 33 | } | ||
33 | 34 | | |||
34 | Profile::~Profile() | 35 | Profile::~Profile() | ||
35 | { | 36 | { | ||
36 | } | 37 | } | ||
37 | 38 | | |||
38 | QString Profile::name() const | 39 | QString Profile::name() const | ||
39 | { | 40 | { | ||
40 | return m_name; | 41 | return m_name; | ||
41 | } | 42 | } | ||
42 | 43 | | |||
43 | QString Profile::description() const | 44 | QString Profile::description() const | ||
44 | { | 45 | { | ||
45 | return m_description; | 46 | return m_description; | ||
46 | } | 47 | } | ||
47 | 48 | | |||
48 | quint32 Profile::priority() const | 49 | quint32 Profile::priority() const | ||
49 | { | 50 | { | ||
50 | return m_priority; | 51 | return m_priority; | ||
51 | } | 52 | } | ||
52 | 53 | | |||
54 | Profile::Availability Profile::availability() const | ||||
55 | { | ||||
56 | return m_availability; | ||||
57 | } | ||||
58 | | ||||
53 | } // QPulseAudio | 59 | } // QPulseAudio |