|
a/libupnpp/control/renderingcontrol.hxx |
|
b/libupnpp/control/renderingcontrol.hxx |
|
... |
|
... |
48 |
|
48 |
|
49 |
/** Test service type from discovery message */
|
49 |
/** Test service type from discovery message */
|
50 |
static bool isRDCService(const std::string& st);
|
50 |
static bool isRDCService(const std::string& st);
|
51 |
|
51 |
|
52 |
/** @ret 0 for success, upnp error else */
|
52 |
/** @ret 0 for success, upnp error else */
|
53 |
int setVolume(int volume, const string& channel = "Master");
|
53 |
int setVolume(int volume, const std::string& channel = "Master");
|
54 |
int getVolume(const string& channel = "Master");
|
54 |
int getVolume(const std::string& channel = "Master");
|
55 |
int setMute(bool mute, const string& channel = "Master");
|
55 |
int setMute(bool mute, const std::string& channel = "Master");
|
56 |
bool getMute(const string& channel = "Master");
|
56 |
bool getMute(const std::string& channel = "Master");
|
57 |
|
57 |
|
58 |
protected:
|
58 |
protected:
|
59 |
static const string SType;
|
59 |
static const std::string SType;
|
60 |
|
60 |
|
61 |
private:
|
61 |
private:
|
62 |
void evtCallback(const std::unordered_map<std::string, std::string>&);
|
62 |
void evtCallback(const std::unordered_map<std::string, std::string>&);
|
63 |
void registerCallback();
|
63 |
void registerCallback();
|
64 |
};
|
64 |
};
|