MusicPlayer.cpp File Reference

Implements the MusicPlayer class. More...

#include "Common/Globals.h"
#include "Application/DataPaths.h"
#include "Sound/MusicPlayer.h"
#include "tinyxml.h"

Functions

bool PlaylistXMLLoadSong (TiXmlNode *songNode, Playlist &list, const std::string &relativePath, const char *xmlFileName)
 Parses the Song element from a play list XML file.
bool LoadPlaylistFromXMLFile (const char *fileName, Playlist &list)
 Loads a play list from an XML file.

Detailed Description

Implements the MusicPlayer class.

Author:
Joe Forte
Date:
6/14/2009

Function Documentation

bool LoadPlaylistFromXMLFile ( const char *  fileName,
Playlist list 
)

Loads a play list from an XML file.

Parameters:
[in] fileName the name if the XML file to load.
[in] list the playlist to fill with songs.
Returns:
true if the XML file was loaded, false otherwise.
bool PlaylistXMLLoadSong ( TiXmlNode *  songNode,
Playlist list,
const std::string &  relativePath,
const char *  xmlFileName 
)

Parses the Song element from a play list XML file.

Parameters:
[in] songNode the song XML node.
[in] list the playlist to fill with songs. [in] relativePath the path to the XML file.
[in] xmlFileName the name of the XML file (for debug purposus only).
Returns:
true if the Song element was parsed, false otherwise.
Generated on Mon Apr 5 19:08:05 2010 for BrickOut |ReDuX| by  doxygen 1.6.3