Commit 434bd4b5 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

chromecast: move buildMessage() in the class

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 40886529
......@@ -114,6 +114,10 @@ struct intf_sys_t
private:
int sendMessage(castchannel::CastMessage &msg);
castchannel::CastMessage buildMessage(std::string namespace_,
castchannel::CastMessage_PayloadType payloadType,
std::string payload, std::string destinationId = DEFAULT_CHOMECAST_RECEIVER);
enum connection_status conn_status;
unsigned i_requestId;
......
......@@ -52,9 +52,9 @@
* @param destinationId the destination idenifier
* @return the generated CastMessage
*/
static castchannel::CastMessage buildMessage(std::string namespace_,
castchannel::CastMessage_PayloadType payloadType,
std::string payload, std::string destinationId = DEFAULT_CHOMECAST_RECEIVER)
castchannel::CastMessage intf_sys_t::buildMessage(std::string namespace_,
castchannel::CastMessage_PayloadType payloadType,
std::string payload, std::string destinationId)
{
castchannel::CastMessage msg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment