TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
engine::ProjectManager::TempProject Struct Reference

Helper struct that creates a temporary project (won't be persisted in the list). More...

#include <tracktion_ProjectManager.h>

Public Member Functions

 TempProject (ProjectManager &pm, const juce::File &f, bool createNewProjectID, ProjectType projectType=ProjectType::fileBased)
 

Public Attributes

Project::Ptr project
 

Detailed Description

Helper struct that creates a temporary project (won't be persisted in the list).

If createNewProjectID is true, assigns a new numeric ID and saves the project (needed for file-based projects that require a valid ID).

Constructor & Destructor Documentation

◆ TempProject()

engine::ProjectManager::TempProject::TempProject ( ProjectManager pm,
const juce::File &  f,
bool  createNewProjectID,
ProjectType  projectType = ProjectType::fileBased 
)

Member Data Documentation

◆ project

Project::Ptr engine::ProjectManager::TempProject::project

The documentation for this struct was generated from the following file: