/* MP3PLAYER (c) 2001-2004 DG2HL, Roger Luff (rluff@_REMOVE_THIS_BEFORE_YOU_SEND_THE_MAIL_gmx.de) http://visumod.freeshell.org . See the readme.txt file for details. This small piece of software mainly plays mp3 files and above that it interpretes a playlist, plays songs in a dirctory selected by wildcards (*.mp3) if you like in randon sequence and obviously it plays single mp3 files. */ class Globals { public: //## Constructors Globals(); //## Destructor virtual ~Globals(); //## Other Operations (specified) // This method copies a file. static bool copyFile (const CString& sourceFilename, const CString& destinationFilename); //## This method removes a file. static void removeFile (const CString& filename); protected: private: }; class Player { public: //## Constructors Player(); //## Destructor ~Player(); //## Other Operations (specified) #define MAX_FILES 10000 void printinfo (); void printerror (char * programname); long fillplaylist (CString& file); void playmp3(long entries, bool randomplay, bool copy); protected: private: CString playlist[MAX_FILES]; int randomindex[MAX_FILES]; };