Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CDPlayerIni Class Reference

A class to read the ini file used by Microsoft's cd player. More...

#include <CDPlayerIni.h>

Inheritance diagram for CDPlayerIni

Inheritance graph
[legend]
Collaboration diagram for CDPlayerIni:

Collaboration graph
[legend]
List of all members.

Public Methods

 CDPlayerIni ()
 CDPlayerIni (string filename)
virtual ~CDPlayerIni ()
CDInfo::Entry* GetEntry (string VolumeSerialNumber)
bool SetIniFileLocation (const string& filename)
bool FindVolume (string vsn)
bool Open (const string& filename)
bool WriteEntry (CDInfo::Entry& entry)
bool Read (ifstream& fs)
bool Write (ofstream& fs)
void CDPlayerIni::Entry::SetVolumeSerialNumber (string vsn)
const string& GetVolumeSerialNumber () const
long GetPositionInFile () const

Detailed Description

A class to read the ini file used by Microsoft's cd player.

The ini file is simply a flat text file. Each new entry is simply concatenated to the end of the file.

Each entry has the following format [{VolumeSerialNumber of cd eg. D4035D}] EntryType={a number usually 1 not sure what other entry types exist} artist={the artists name} title={The title of the cd} numtracks={the number of tracks} {list of track number=track title - starts at zero eg "0=la femme d'argent"} order={the order of the playback} numplay={the number of tracks to playback - the length of order}


The documentation for this class was generated from the following files:
Generated at Mon Nov 27 01:46:40 2000 for LibPenguinPlay by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000