예제 #1
0
	StringResult Playlist::currentActive() const
	{
		xmmsc_result_t* res =
		    call( connected_,
		          boost::bind( xmmsc_playlist_current_active, conn_ ) );
		return StringResult( res, ml_ );
	}
예제 #2
0
	StringResult
	Config::valueGet( const std::string& key ) const
	{
		xmmsc_result_t* res = 
		    call( connected_,
		          boost::bind( xmmsc_configval_get, conn_, key.c_str() ) );
		return StringResult( res, ml_ );
	}
예제 #3
0
	StringResult Bindata::add( const Xmms::bin& data ) const
	{
		xmmsc_result_t* res =
			call( connected_,
			      boost::bind( xmmsc_bindata_add, conn_,
			                   data.data(), data.size() ) );
		return StringResult( res, ml_ );
	}