47 const std::string&
id()
const {
return id_; }
71 std::shared_ptr<music_track>
get_track(
unsigned int i);
72 void set_track(
unsigned int i,
const std::shared_ptr<music_track>& to);
A config object defines a single node in a WML file, with access to child nodes.
Internal representation of music tracks.
const std::string & title() const
void set_play_once(bool v)
std::chrono::milliseconds ms_before_
void set_ms_before(const std::chrono::milliseconds &v)
void set_title(const std::string &v)
const std::string & file_path() const
void write(config &parent_node, bool append) const
std::chrono::milliseconds ms_after_
const std::string & id() const
void set_ms_after(const std::chrono::milliseconds &v)
Audio output for sound and music.
void set_track(unsigned int i, const std::shared_ptr< music_track > &to)
std::shared_ptr< music_track > get_track(unsigned int i)
bool operator==(const sound::music_track &a, const sound::music_track &b)
bool operator!=(const sound::music_track &a, const sound::music_track &b)