Switch to unified view

a/libupnpp/control/avlastchg.cxx b/libupnpp/control/avlastchg.cxx
...
...
29
29
30
class LastchangeParser : public inputRefXMLParser {
30
class LastchangeParser : public inputRefXMLParser {
31
public:
31
public:
32
    LastchangeParser(const string& input, STD_UNORDERED_MAP<string,string>& props)
32
    LastchangeParser(const string& input, STD_UNORDERED_MAP<string,string>& props)
33
        : inputRefXMLParser(input), m_props(props)
33
        : inputRefXMLParser(input), m_props(props)
34
        {}
34
    {}
35
35
36
protected:
36
protected:
37
    virtual void StartElement(const XML_Char *name, const XML_Char **attrs)
37
    virtual void StartElement(const XML_Char *name, const XML_Char **attrs)
38
    {
38
    {
39
        //LOGDEB("LastchangeParser: begin " << name << endl);
39
        //LOGDEB("LastchangeParser: begin " << name << endl);
...
...
47
private:
47
private:
48
    STD_UNORDERED_MAP<string, string>& m_props;
48
    STD_UNORDERED_MAP<string, string>& m_props;
49
};
49
};
50
50
51
51
52
bool decodeAVLastChange(const string& xml, 
52
bool decodeAVLastChange(const string& xml,
53
                        STD_UNORDERED_MAP<string, string>& props)
53
                        STD_UNORDERED_MAP<string, string>& props)
54
{
54
{
55
    LastchangeParser mparser(xml, props);
55
    LastchangeParser mparser(xml, props);
56
    if (!mparser.Parse())
56
    if (!mparser.Parse())
57
        return false;
57
        return false;