/** * @file controllerpresetinfoenumerator.h * @author Be be.0@gmx.com * @date Sat Jul 18 2015 * @brief Enumerate list of available controller mapping presets */ #ifndef CONTROLLERPRESETINFOENUMERATOR_H #define CONTROLLERPRESETINFOENUMERATOR_H #include #include #include #include "controllers/controllerpresetinfo.h" class PresetInfoEnumerator { public: PresetInfoEnumerator(const QString& searchPath); PresetInfoEnumerator(const QStringList& searchPaths); // Return cached list of presets for this extension QList getPresetsByExtension(const QString& extension); void loadSupportedPresets(); private: // List of paths for controller presets QList m_controllerDirPaths; QList m_hidPresets; QList m_midiPresets; QList m_bulkPresets; }; #endif