|
a/libupnpp/control/avlastchg.hxx |
|
b/libupnpp/control/avlastchg.hxx |
|
... |
|
... |
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _AVLASTCHG_H_X_INCLUDED_
|
17 |
#ifndef _AVLASTCHG_H_X_INCLUDED_
|
18 |
#define _AVLASTCHG_H_X_INCLUDED_
|
18 |
#define _AVLASTCHG_H_X_INCLUDED_
|
19 |
|
19 |
|
|
|
20 |
#include <string> // for string
|
|
|
21 |
#include <unordered_map> // for unordered_map
|
|
|
22 |
|
20 |
namespace UPnPClient {
|
23 |
namespace UPnPClient {
|
21 |
/** Decoding AV LastChange data
|
24 |
/** Decoding AV LastChange data
|
22 |
* <Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT_RCS">
|
25 |
* <Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT_RCS">
|
23 |
* <InstanceID val="0">
|
26 |
* <InstanceID val="0">
|
24 |
* <Mute val="0"/>
|
27 |
* <Mute val="0"/>
|
25 |
* <Volume val="24"/>
|
28 |
* <Volume val="24"/>
|
26 |
* </InstanceID>
|
29 |
* </InstanceID>
|
27 |
* </Event>
|
30 |
* </Event>
|
28 |
*/
|
31 |
*/
|
29 |
extern bool decodeAVLastChange(const string& xml,
|
32 |
extern bool decodeAVLastChange(const std::string& xml,
|
30 |
unordered_map<string, string>& props);
|
33 |
std::unordered_map<std::string, std::string>& props);
|
31 |
|
34 |
|
32 |
|
35 |
|
33 |
} // namespace UPnPClient
|
36 |
} // namespace UPnPClient
|
34 |
|
37 |
|
35 |
#endif /* _AVLASTCHG_H_X_INCLUDED_ */
|
38 |
#endif /* _AVLASTCHG_H_X_INCLUDED_ */
|