Switch to unified view

a/src/conman.hxx b/src/conman.hxx
...
...
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
#ifndef _CONMAN_H_X_INCLUDED_
17
#ifndef _CONMAN_H_X_INCLUDED_
18
#define _CONMAN_H_X_INCLUDED_
18
#define _CONMAN_H_X_INCLUDED_
19
19
20
#include <string>                       // for string
20
#include <string>
21
#include <vector>                       // for vector
21
#include <vector>
22
22
23
#include "libupnpp/device/device.hxx"   // for UpnpService
23
#include "libupnpp/device/device.hxx"
24
#include "libupnpp/soaphelp.hxx"        // for SoapIncoming, SoapOutgoing
24
#include "libupnpp/soaphelp.hxx"
25
26
class UpMpd;
27
25
28
using namespace UPnPP;
26
using namespace UPnPP;
29
27
30
class UpMpdConMan : public UPnPProvider::UpnpService {
28
class UpMpdConMan : public UPnPProvider::UpnpService {
31
public:
29
public:
32
    UpMpdConMan(UpMpd *dev);
30
    UpMpdConMan(UPnPProvider::UpnpDevice *dev, const std::string& protoinfo);
33
31
34
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
32
    virtual bool getEventData(bool all, std::vector<std::string>& names, 
35
                              std::vector<std::string>& values);
33
                              std::vector<std::string>& values);
36
private:
34
private:
37
    int getCurrentConnectionIDs(const SoapIncoming& sc, SoapOutgoing& data);
35
    int getCurrentConnectionIDs(const SoapIncoming& sc, SoapOutgoing& data);
38
    int getCurrentConnectionInfo(const SoapIncoming& sc, SoapOutgoing& data);
36
    int getCurrentConnectionInfo(const SoapIncoming& sc, SoapOutgoing& data);
39
    int getProtocolInfo(const SoapIncoming& sc, SoapOutgoing& data);
37
    int getProtocolInfo(const SoapIncoming& sc, SoapOutgoing& data);
40
38
    std::string m_protoinfo;
41
};
39
};
42
40
43
#endif /* _CONMAN_H_X_INCLUDED_ */
41
#endif /* _CONMAN_H_X_INCLUDED_ */