|
a/libupnpp/control/avlastchg.hxx |
|
b/libupnpp/control/avlastchg.hxx |
|
... |
|
... |
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 "libupnpp/config.h"
|
20 |
#include "libupnpp/config.h"
|
21 |
|
21 |
|
22 |
#include UNORDERED_MAP_INCLUDE
|
22 |
#include <unordered_map>
|
23 |
#include <string> // for string
|
23 |
#include <string> // for string
|
24 |
|
24 |
|
25 |
namespace UPnPClient {
|
25 |
namespace UPnPClient {
|
26 |
/** Decoding AV LastChange data
|
26 |
/** Decoding AV LastChange data
|
27 |
* <Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT_RCS">
|
27 |
* <Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT_RCS">
|
|
... |
|
... |
30 |
* <Volume val="24"/>
|
30 |
* <Volume val="24"/>
|
31 |
* </InstanceID>
|
31 |
* </InstanceID>
|
32 |
* </Event>
|
32 |
* </Event>
|
33 |
*/
|
33 |
*/
|
34 |
extern bool decodeAVLastChange(const std::string& xml,
|
34 |
extern bool decodeAVLastChange(const std::string& xml,
|
35 |
STD_UNORDERED_MAP<std::string, std::string>& props);
|
35 |
std::unordered_map<std::string, std::string>& props);
|
36 |
|
36 |
|
37 |
|
37 |
|
38 |
} // namespace UPnPClient
|
38 |
} // namespace UPnPClient
|
39 |
|
39 |
|
40 |
#endif /* _AVLASTCHG_H_X_INCLUDED_ */
|
40 |
#endif /* _AVLASTCHG_H_X_INCLUDED_ */
|