TracktionEngine
Loading...
Searching...
No Matches
tracktion_EditFileOperations.h File Reference

Classes

class  engine::EditFileOperations
 Contains methods for saving an Edit to a file. More...

Namespaces

namespace  engine

Functions

std::unique_ptr< Edit > engine::loadEditFromFile (Engine &, const juce::File &, Edit::EditRole role=Edit::EditRole::forEditing, Edit::LoadContext *=nullptr)
 Loads an edit from a file, ready for playback / editing.
std::unique_ptr< Edit > engine::loadEditFromState (Engine &, const juce::ValueTree &, Edit::EditRole role=Edit::EditRole::forEditing, Edit::LoadContext *=nullptr)
 Loads an edit from a ValueTree, ready for playback / editing.
std::unique_ptr< Edit > engine::createEmptyEdit (Engine &, const juce::File &)
 Creates a new edit for a file, ready for playback / editing.
juce::ValueTree engine::loadEditFromProjectManager (ProjectManager &, ProjectItemRef)
 Uses the ProjectManager to find an Edit file and load it as a ValueTree.
std::unique_ptr< Edit > engine::loadEditForExamining (ProjectManager &, ProjectItemRef, Edit::EditRole role=Edit::EditRole::forExamining, Edit::LoadContext *=nullptr)
 Uses the ProjectManager to find an Edit file and open it.
juce::ValueTree engine::loadEditFromFile (Engine &, const juce::File &, ProjectItemRef)
 Legacy, will be deprecated soon.
juce::ValueTree engine::createEmptyEdit (Engine &)
 Legacy, will be deprecated soon.
juce::ValueTree engine::updateLegacyEdit (const juce::ValueTree &)
 Converts old edit formats to the latest structure.
void engine::updateLegacyEdit (juce::XmlElement &editXML)
 Converts old edit formats to the latest structure.