#ifndef FILE_DISPATCHER #define FILE_DISPATCHER #include #include #include #include #include #include class FileDispatcher { std::vector fileList; int currentIndex = 0; std::mutex requestMutex; std::filesystem::path filePath; public: FileDispatcher(); FileDispatcher(std::filesystem::path inPath); void setFilePath(std::filesystem::path inPath); bool initFileList(); std::string requestFileName(); }; #endif