Switch to unified view

a/upmpd/ohvolume.cxx b/upmpd/ohvolume.cxx
...
...
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
17
18
#include <stdio.h>
18
#include "ohvolume.hxx"
19
#include <stdlib.h>
20
#include <unistd.h>
21
#include <sys/types.h>
22
#include <pwd.h>
23
19
24
#include <string>
20
#include <upnp/upnp.h>                  // for UPNP_E_SUCCESS, etc
25
#include <iostream>
21
26
#include <sstream>
22
#include <functional>                   // for _Bind, bind, _1, _2
27
#include <vector>
23
#include <iostream>                     // for endl
28
#include <functional>
24
#include <string>                       // for string
29
#include <set>
25
#include <unordered_map>                // for unordered_map, etc
26
#include <utility>                      // for pair
27
#include <vector>                       // for vector
28
29
#include "libupnpp/log.hxx"             // for LOGDEB
30
#include "libupnpp/soaphelp.hxx"        // for SoapData, SoapArgs, i2s
31
32
#include "upmpd.hxx"                    // for UpMpd
33
#include "upmpdutils.hxx"               // for diffmaps
34
#include "renderctl.hxx"                // for UpMpdRenderCtl
35
30
using namespace std;
36
using namespace std;
31
using namespace std::placeholders;
37
using namespace std::placeholders;
32
33
#include "libupnpp/upnpplib.hxx"
34
#include "libupnpp/soaphelp.hxx"
35
#include "libupnpp/log.hxx"
36
#include "libupnpp/device/device.hxx"
37
38
#include "upmpd.hxx"
39
#include "ohvolume.hxx"
40
#include "mpdcli.hxx"
41
#include "upmpdutils.hxx"
42
#include "renderctl.hxx"
43
38
44
static const string millidbperstep("500");
39
static const string millidbperstep("500");
45
40
46
static const string sTpProduct("urn:av-openhome-org:service:Volume:1");
41
static const string sTpProduct("urn:av-openhome-org:service:Volume:1");
47
static const string sIdProduct("urn:av-openhome-org:serviceId:Volume");
42
static const string sIdProduct("urn:av-openhome-org:serviceId:Volume");