rsked/playpref.cc
/// Fill str with a list of capabilities suitable for printing.
///
Fill str with a list of capabilities suitable for printing.
Fill str with a list of capabilities suitable for printing .
void Player_cap_set::cap_string( std::string &str ) const
{
    str.clear();
    for (const PlayCap & cap : m_caps) {
        str += media_name(cap.first);
        str += ':';
        str += encoding_name(cap.second);
        str += ',';
    }
    str.resize(str.size()-1);
}
void Player_cap_set :: cap_string ( std :: string & str ) const { str . clear ( ) ; for ( const PlayCap & cap : m_caps ) { str += media_name ( cap . first ) ; str += ' ' ; str += encoding_name ( cap . second ) ; str += ' ' ; } str . resize ( str . size ( ) - 1 ) ; }
Fill str with a list of capabilities suitable for printing.
Fill str with a list of capabilities suitable for printing .