project.h file

A project (or song), containing all the project data as opposed to zrythm_app.h which manages global things like plugin descriptors and global settings.

Contents

Classes

struct Project
Contains all of the info that will be serialized into a project file.

Enums

enum SelectionType { SELECTION_TYPE_TRACK, SELECTION_TYPE_PLUGIN, SELECTION_TYPE_EDITOR }
Selection type, used for displaying info in the inspector.

Typedefs

using SelectionType = enum SelectionType
Selection type, used for displaying info in the inspector.
using Project = struct Project
Contains all of the info that will be serialized into a project file.

Functions

void project_sanity_check(Project* self)
Checks that everything is okay with the project.
auto project_load(char* filename) -> int
If project has a filename set, it loads that.
auto project_save(const char* dir) -> int
Saves project to a file.
void project_set_has_range(int has_range)
Sets if the project has range and updates UI.