|
a/libupnpp/control/linnsongcast.hxx |
|
b/libupnpp/control/linnsongcast.hxx |
|
... |
|
... |
43 |
|
43 |
|
44 |
/**
|
44 |
/**
|
45 |
* Find device with given name (try friendly, then uuid), and
|
45 |
* Find device with given name (try friendly, then uuid), and
|
46 |
* return the result of senderService()
|
46 |
* return the result of senderService()
|
47 |
*/
|
47 |
*/
|
48 |
extern OHSNH getSender(const std::string& nm, const std::string& reason);
|
48 |
extern OHSNH getSender(const std::string& nm, std::string& reason);
|
49 |
|
49 |
|
50 |
/** Everything you need to know about a Sender */
|
50 |
/** Everything you need to know about a Sender */
|
51 |
struct SenderState {
|
51 |
struct SenderState {
|
52 |
std::string nm;
|
52 |
std::string nm;
|
53 |
std::string UDN;
|
53 |
std::string UDN;
|
|
... |
|
... |
111 |
* field will hold Service handles on return
|
111 |
* field will hold Service handles on return
|
112 |
*/
|
112 |
*/
|
113 |
extern void getReceiverState(const std::string& nm, ReceiverState& st,
|
113 |
extern void getReceiverState(const std::string& nm, ReceiverState& st,
|
114 |
bool live = true);
|
114 |
bool live = true);
|
115 |
/** Get status for all found Receiver services */
|
115 |
/** Get status for all found Receiver services */
|
116 |
void listReceivers(std::vector<ReceiverState>& vscs);
|
116 |
extern void listReceivers(std::vector<ReceiverState>& vscs);
|
117 |
|
117 |
|
118 |
extern bool setReceiverPlaying(ReceiverState& st,
|
118 |
extern bool setReceiverPlaying(ReceiverState st,
|
119 |
const std::string& uri,
|
119 |
const std::string& uri,
|
120 |
const std::string& meta);
|
120 |
const std::string& meta);
|
121 |
extern bool stopReceiver(ReceiverState st);
|
121 |
extern bool stopReceiver(ReceiverState st);
|
|
|
122 |
|
122 |
extern void setReceiversFromSender(const std::string& sendernm,
|
123 |
extern void setReceiversFromSender(const std::string& sendernm,
|
123 |
const std::vector<std::string>&
|
124 |
const std::vector<std::string>&
|
124 |
rcvnms);
|
125 |
rcvnms);
|
125 |
extern void setReceiversFromReceiver(const std::string& rcvnm,
|
126 |
extern void setReceiversFromReceiver(const std::string& rcvnm,
|
126 |
const std::vector<std::string>&
|
127 |
const std::vector<std::string>&
|