Switch to unified view

a/upmpd/ohproduct.cxx b/upmpd/ohproduct.cxx
...
...
12
 *   You should have received a copy of the GNU General Public License
12
 *   You should have received a copy of the GNU General Public License
13
 *   along with this program; if not, write to the
13
 *   along with this program; if not, write to the
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
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
#include "config.h"
17
#include "ohproduct.hxx"
18
18
19
#include <stdio.h>
19
#include <upnp/upnp.h>                  // for UPNP_E_SUCCESS, etc
20
#include <stdlib.h>
21
#include <unistd.h>
22
#include <sys/types.h>
23
#include <pwd.h>
24
20
25
#include <string>
21
#include <functional>                   // for _Bind, bind, _1, _2
26
#include <iostream>
22
#include <iostream>                     // for endl, etc
27
#include <sstream>
23
#include <map>                          // for _Rb_tree_const_iterator, etc
28
#include <vector>
24
#include <string>                       // for string, operator<<, etc
29
#include <functional>
25
#include <utility>                      // for pair
30
#include <set>
26
#include <vector>                       // for vector
27
28
#include "config.h"                     // for PACKAGE_VERSION
29
30
#include "libupnpp/device/device.hxx"   // for UpnpService
31
#include "libupnpp/log.hxx"             // for LOGDEB
32
#include "libupnpp/soaphelp.hxx"        // for SoapData, SoapArgs
33
34
#include "upmpd.hxx"                    // for UpMpd
35
31
using namespace std;
36
using namespace std;
32
using namespace std::placeholders;
37
using namespace std::placeholders;
33
34
#include "libupnpp/upnpplib.hxx"
35
#include "libupnpp/soaphelp.hxx"
36
#include "libupnpp/log.hxx"
37
#include "libupnpp/device/device.hxx"
38
39
#include "upmpd.hxx"
40
#include "ohproduct.hxx"
41
#include "mpdcli.hxx"
42
#include "upmpdutils.hxx"
43
38
44
static const string sTpProduct("urn:av-openhome-org:service:Product:1");
39
static const string sTpProduct("urn:av-openhome-org:service:Product:1");
45
static const string sIdProduct("urn:av-openhome-org:serviceId:Product");
40
static const string sIdProduct("urn:av-openhome-org:serviceId:Product");
46
41
47
OHProduct::OHProduct(UpMpd *dev, const string& friendlyname)
42
OHProduct::OHProduct(UpMpd *dev, const string& friendlyname)
...
...
245
{
240
{
246
    LOGDEB("OHProduct::sourceXMLChangeCount" << endl);
241
    LOGDEB("OHProduct::sourceXMLChangeCount" << endl);
247
    data.addarg("Value", "0");
242
    data.addarg("Value", "0");
248
    return UPNP_E_SUCCESS;
243
    return UPNP_E_SUCCESS;
249
}
244
}
250