#include <music.h>
Public Member Functions | |
| const ASCString & | getName () |
| void | runTextIO (PropertyContainer &pc) |
| loads a PlayList from a .ASCTXT file | |
| void | reset () |
| resets the internal track iterator | |
| const ASCString & | getNextTrack () |
| returns the filename of the next music track | |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) const |
| ASCString | getDiagnosticText () |
Public Attributes | |
| ASCString | filename |
| ASCString | location |
Definition at line 19 of file music.h.
| void MusicPlayList::runTextIO | ( | PropertyContainer & | pc | ) |
loads a PlayList from a .ASCTXT file
Definition at line 47 of file music.cpp.
References PropertyContainer::addString(), PropertyContainer::addStringArray(), displayLogMessage(), and reset().
Referenced by PlayListLoader::readTextFiles().
| void MusicPlayList::reset | ( | ) |
resets the internal track iterator
Definition at line 92 of file music.cpp.
References displayLogMessage(), filename, location, and pathdelimitterstring.
Referenced by getNextTrack(), read(), and runTextIO().
| const ASCString & MusicPlayList::getNextTrack | ( | ) |
| void MusicPlayList::read | ( | tnstream & | stream | ) |
Definition at line 58 of file music.cpp.
References fatalError(), filename, location, readClassContainer(), tnstream::readInt(), tnstream::readString(), and reset().
| void MusicPlayList::write | ( | tnstream & | stream | ) | const |
Definition at line 69 of file music.cpp.
References filename, location, writeClassContainer(), tnstream::writeInt(), and tnstream::writeString().
| ASCString MusicPlayList::getDiagnosticText | ( | ) |
Definition at line 117 of file music.cpp.
References location.
Referenced by SoundSystem::getDiagnosticText().
Definition at line 31 of file music.h.
Referenced by getDiagnosticText(), read(), PlayListLoader::readTextFiles(), reset(), and write().
1.5.1