Switch to unified view

a/libupnpp/control/cdircontent.hxx b/libupnpp/control/cdircontent.hxx
...
...
22
#include <map>
22
#include <map>
23
#include <sstream>
23
#include <sstream>
24
24
25
#include "libupnpp/upnpavutils.hxx"
25
#include "libupnpp/upnpavutils.hxx"
26
26
27
namespace UPnPClient {
28
27
/** 
29
/** 
28
 * UPnP resource. A resource describes one of the entities associated with 
30
 * UPnP resource. A resource describes one of the entities associated with 
29
 * a directory entry. This would be typically the audio file URI, and
31
 * a directory entry. This would be typically the audio file URI, and
30
 * its characteristics (sample rate etc.) as attributes, but there can
32
 * its characteristics (sample rate etc.) as attributes, but there can
31
 * be several resources associated to one entry, for example for
33
 * be several resources associated to one entry, for example for
...
...
112
        std::string sdur;
114
        std::string sdur;
113
        if (!getrprop(ridx, "duration", sdur)) {
115
        if (!getrprop(ridx, "duration", sdur)) {
114
            //?? Avoid returning 0, who knows...
116
            //?? Avoid returning 0, who knows...
115
            return 1;
117
            return 1;
116
        }
118
        }
117
        return upnpdurationtos(sdur);
119
        return UPnPP::upnpdurationtos(sdur);
118
    }
120
    }
119
121
120
    /** 
122
    /** 
121
     * Get a DIDL document suitable for sending to a mediaserver. Only
123
     * Get a DIDL document suitable for sending to a mediaserver. Only
122
     * works for items, not containers. The idea is that we may have
124
     * works for items, not containers. The idea is that we may have
...
...
196
     * up...
198
     * up...
197
     */
199
     */
198
    bool parse(const std::string& didltext);
200
    bool parse(const std::string& didltext);
199
};
201
};
200
202
203
} // namespace
204
201
#endif /* _UPNPDIRCONTENT_H_X_INCLUDED_ */
205
#endif /* _UPNPDIRCONTENT_H_X_INCLUDED_ */