20 #ifndef MPD_CLIENT_MESSAGE_HXX
21 #define MPD_CLIENT_MESSAGE_HXX
37 std::string channel, message;
40 template<
typename T,
typename U>
42 :channel(std::forward<T>(_channel)),
43 message(std::forward<U>(_message)) {}
46 return channel.c_str();
50 return message.c_str();
ClientMessage(T &&_channel, U &&_message)
gcc_pure bool client_message_valid_channel_name(const char *name) noexcept
A client-to-client message.
const char * GetChannel() const
const char * GetMessage() const
const Partition const char * name