|
a/src/ohradio.hxx |
|
b/src/ohradio.hxx |
|
... |
|
... |
27 |
#include "ohservice.hxx"
|
27 |
#include "ohservice.hxx"
|
28 |
|
28 |
|
29 |
class UpMpd;
|
29 |
class UpMpd;
|
30 |
|
30 |
|
31 |
using namespace UPnPP;
|
31 |
using namespace UPnPP;
|
|
|
32 |
|
|
|
33 |
class RadioMeta;
|
|
|
34 |
class MpdStatus;
|
32 |
|
35 |
|
33 |
class OHRadio : public OHService {
|
36 |
class OHRadio : public OHService {
|
34 |
public:
|
37 |
public:
|
35 |
OHRadio(UpMpd *dev);
|
38 |
OHRadio(UpMpd *dev);
|
36 |
|
39 |
|
|
... |
|
... |
68 |
std::string metaForId(unsigned int id);
|
71 |
std::string metaForId(unsigned int id);
|
69 |
bool readRadios();
|
72 |
bool readRadios();
|
70 |
int setPlaying();
|
73 |
int setPlaying();
|
71 |
bool makeIdArray(std::string&);
|
74 |
bool makeIdArray(std::string&);
|
72 |
void maybeWakeUp(bool ok);
|
75 |
void maybeWakeUp(bool ok);
|
|
|
76 |
void maybeExecMetaScript(RadioMeta& radio, MpdStatus &);
|
73 |
|
77 |
|
74 |
bool m_active;
|
78 |
bool m_active;
|
75 |
MpdState m_mpdsavedstate;
|
79 |
MpdState m_mpdsavedstate;
|
76 |
// Current channel id set by setId
|
80 |
// Current channel id set by setId
|
77 |
unsigned int m_id;
|
81 |
unsigned int m_id;
|