Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
project_init_flow_manager.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2023 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __PROJECT_PROJECT_INIT_FLOW_MANAGER_H__
11#define __PROJECT_PROJECT_INIT_FLOW_MANAGER_H__
12
13#include "zrythm-config.h"
14
25typedef void (
26 *ProjectInitDoneCallback) (bool success, GError * error, void * user_data);
27
40void
42 const char * filename,
43 const bool is_template,
45 void * user_data);
46
51#endif
void project_init_flow_manager_load_or_create_default_project(const char *filename, const bool is_template, ProjectInitDoneCallback cb, void *user_data)
If filename set, it loads that, otherwise it loads the default project.
void(* ProjectInitDoneCallback)(bool success, GError *error, void *user_data)
Callback to call when project initialization (loading or creating new) finishes.