struct EE::UI::Models::FileSystemModel::DisplayConfig

#include <filesystemmodel.hpp>

struct DisplayConfig {
    // fields

    bool sortByName { true };
    bool foldersFirst { true };
    bool ignoreHidden { false };
    std::vector<std::string> acceptedExtensions;
    std::function<bool(const std::string&filepath)> fileIsVisibleFn;

    // construction

    DisplayConfig();
    DisplayConfig(bool sortByName, bool foldersFirst, bool ignoreHidden, const std::vector<std::string>& acceptedExtensions = {}, std::function<bool(const std::string&filepath)> fileIsVisibleFn = nullptr);

    // methods

    bool operator==(const DisplayConfig& other);
    bool operator!=(const DisplayConfig& other);
};