#ifndef __CMacroPlayer_H__ #define __CMacroPlayer_H__ #include #include using namespace std; class ASoundFileManager; class CNestedDataFile; class CLoadedSound; #include "CRunMacroAction.h" class CMacroPlayer { public: static const vector getMacroNames(const CNestedDataFile *macroStore); CMacroPlayer(const CNestedDataFile *macroStore,const string macroName); virtual ~CMacroPlayer(); bool doMacro(ASoundFileManager *soundFileManager); private: const CNestedDataFile *macroStore; const string macroName; CRanMacroActionFactory ranMacroActionFactory; void addRanMacroActions(const map &actionCountsPerSound,ASoundFileManager *soundFileManager,const string macroName); }; #endif