|
a/libupnpp/control/ohreceiver.hxx |
|
b/libupnpp/control/ohreceiver.hxx |
|
... |
|
... |
42 |
class OHReceiver : public Service {
|
42 |
class OHReceiver : public Service {
|
43 |
public:
|
43 |
public:
|
44 |
|
44 |
|
45 |
OHReceiver(const UPnPDeviceDesc& device, const UPnPServiceDesc& service)
|
45 |
OHReceiver(const UPnPDeviceDesc& device, const UPnPServiceDesc& service)
|
46 |
: Service(device, service) {
|
46 |
: Service(device, service) {
|
47 |
registerCallback();
|
|
|
48 |
}
|
47 |
}
|
49 |
virtual ~OHReceiver() {
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
OHReceiver() {}
|
48 |
OHReceiver() {}
|
|
|
49 |
virtual ~OHReceiver() {}
|
53 |
|
50 |
|
54 |
/** Test service type from discovery message */
|
51 |
/** Test service type from discovery message */
|
55 |
static bool isOHRcService(const std::string& st);
|
52 |
static bool isOHRcService(const std::string& st);
|
|
|
53 |
virtual bool serviceTypeMatch(const std::string& tp);
|
56 |
|
54 |
|
57 |
int play();
|
55 |
int play();
|
58 |
int stop();
|
56 |
int stop();
|
59 |
int setSender(const std::string& uri, const std::string& meta);
|
57 |
int setSender(const std::string& uri, const std::string& meta);
|
60 |
int sender(std::string& uri, std::string& meta);
|
58 |
int sender(std::string& uri, std::string& meta);
|