• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • PresetStore
  • PresetStore Class

    Folder-based persistence for Preset files. More...

    Header: #include <PresetStore>
    Inherits: QObject

    Detailed Description

    PresetStore keeps one JSON file per preset in a single directory, named <name>.preset. It also reads legacy <name>.fixo files in the same directory; when both exist for one name, the .preset file wins. A file that does not parse as a valid preset is skipped.

    The fixo Library creates its PresetStore over the presets folder of its custom directory and owns it as a QObject child. PresetBook wraps the store for the generic book UI. Every call that writes or deletes a preset file emits presetsChanged().

    See also Preset and Library.