Switch to unified view

a/src/ohplaylist.hxx b/src/ohplaylist.hxx
...
...
21
#include <unordered_map>                // for unordered_map
21
#include <unordered_map>                // for unordered_map
22
#include <vector>                       // for vector
22
#include <vector>                       // for vector
23
23
24
#include "libupnpp/device/device.hxx"   // for UpnpService
24
#include "libupnpp/device/device.hxx"   // for UpnpService
25
#include "libupnpp/soaphelp.hxx"        // for SoapArgs, SoapData
25
#include "libupnpp/soaphelp.hxx"        // for SoapArgs, SoapData
26
#include "mpdcli.hxx"
26
27
27
class UpMpd;
28
class UpMpd;
28
class UpMpdRenderCtl;
29
class UpMpdRenderCtl;
29
30
30
using namespace UPnPP;
31
using namespace UPnPP;
...
...
35
36
36
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
37
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
37
                              std::vector<std::string>& values);
38
                              std::vector<std::string>& values);
38
    virtual bool cacheFind(const std::string& uri, std:: string& meta);
39
    virtual bool cacheFind(const std::string& uri, std:: string& meta);
39
40
40
    // This is the "normal" call version of soap "insert", used
41
    // Internal non-soap versions of some of the interface for use by
41
    // internally by the receiver service
42
    // e.g. ohreceiver
42
    virtual bool insertUri(int afterid, const std::string& uri, 
43
    virtual bool insertUri(int afterid, const std::string& uri, 
43
                           const std::string& metadata, int *newid = 0);
44
                           const std::string& metadata, int *newid = 0);
45
    virtual bool ireadList(const std::vector<int>&, std::vector<UpSong>&);
46
    virtual bool iidArray(std::string& idarray, int *token);
47
    virtual bool urlMap(std::unordered_map<int, std::string>& umap);
44
48
45
private:
49
private:
46
    int play(const SoapArgs& sc, SoapData& data);
50
    int play(const SoapArgs& sc, SoapData& data);
47
    int pause(const SoapArgs& sc, SoapData& data);
51
    int pause(const SoapArgs& sc, SoapData& data);
48
    int stop(const SoapArgs& sc, SoapData& data);
52
    int stop(const SoapArgs& sc, SoapData& data);