Switch to unified view

a/libupnpp/control/cdircontent.hxx b/libupnpp/control/cdircontent.hxx
...
...
62
    // Properties as gathered from the XML document (url, artist, etc.),
62
    // Properties as gathered from the XML document (url, artist, etc.),
63
    // except for title which has a proper field.
63
    // except for title which has a proper field.
64
    // The map keys are the XML tag names
64
    // The map keys are the XML tag names
65
    std::map<std::string, std::string> m_props;
65
    std::map<std::string, std::string> m_props;
66
66
67
    // Resource URIs: there may be several, for example for different
68
    // audio formats of the same track
67
    std::vector<UPnPResource> m_resources;
69
    std::vector<UPnPResource> m_resources;
68
70
69
    /** Get named property
71
    /** Get named property
70
     * @param property name (e.g. upnp:artist, upnp:album,
72
     * @param property name (e.g. upnp:artist, upnp:album,
71
     *     upnp:originalTrackNumber, upnp:genre). Use m_title instead
73
     *     upnp:originalTrackNumber, upnp:genre). Use m_title instead
...
...
126
class UPnPDirContent {
128
class UPnPDirContent {
127
public:
129
public:
128
    std::vector<UPnPDirObject> m_containers;
130
    std::vector<UPnPDirObject> m_containers;
129
    std::vector<UPnPDirObject> m_items;
131
    std::vector<UPnPDirObject> m_items;
130
132
133
    void clear() 
134
    { 
135
        m_containers.clear();
136
        m_items.clear();
137
    }
138
131
    /**
139
    /**
132
     * Parse from DIDL-Lite XML data.
140
     * Parse from DIDL-Lite XML data.
133
     *
141
     *
134
     * Normally only used by ContentDirectoryService::readDir()
142
     * Normally only used by ContentDirectoryService::readDir()
135
     * This is cumulative: in general, the XML data is obtained in
143
     * This is cumulative: in general, the XML data is obtained in