46 const std::string&
id()
const {
return id_; }
70 std::shared_ptr<music_track>
get_track(
unsigned int i);
71 void set_track(
unsigned int i,
const std::shared_ptr<music_track>& to);
76 return a.file_path() ==
b.file_path();
79 return a.file_path() !=
b.file_path();
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)
void set_title(const std::string &v)
const std::string & file_path() const
void write(config &parent_node, bool append) const
void set_ms_before(int v)
const std::string & id() const
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)